UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMassArchetypeEntityCollection::FArchetypeEntityRange Struct Reference

#include <MassArchetypeTypes.h>

Public Member Functions

 FArchetypeEntityRange ()=default
 
 FArchetypeEntityRange (const int32 InChunkIndex, const int32 InSubchunkStart=0, const int32 InLength=0)
 
bool IsSet () const
 
bool IsAdjacentAfter (const FArchetypeEntityRange &Other) const
 
bool IsOverlapping (const FArchetypeEntityRange &Other) const
 
bool operator== (const FArchetypeEntityRange &Other) const
 
bool operator!= (const FArchetypeEntityRange &Other) const
 
bool operator< (const FArchetypeEntityRange &Other) const
 

Public Attributes

int32 ChunkIndex = INDEX_NONE
 
int32 SubchunkStart = 0
 
int32 Length = 0
 

Constructor & Destructor Documentation

◆ FArchetypeEntityRange() [1/2]

FMassArchetypeEntityCollection::FArchetypeEntityRange::FArchetypeEntityRange ( )
default

◆ FArchetypeEntityRange() [2/2]

FMassArchetypeEntityCollection::FArchetypeEntityRange::FArchetypeEntityRange ( const int32  InChunkIndex,
const int32  InSubchunkStart = 0,
const int32  InLength = 0 
)
inlineexplicit

Member Function Documentation

◆ IsAdjacentAfter()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::IsAdjacentAfter ( const FArchetypeEntityRange Other) const
inline

Checks if given InRange comes right after this instance

◆ IsOverlapping()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::IsOverlapping ( const FArchetypeEntityRange Other) const
inline

◆ IsSet()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::IsSet ( ) const
inline

Note that we consider invalid-length chunks valid as long as ChunkIndex and SubchunkStart are valid

◆ operator!=()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::operator!= ( const FArchetypeEntityRange Other) const
inline

◆ operator<()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::operator< ( const FArchetypeEntityRange Other) const
inline

◆ operator==()

bool FMassArchetypeEntityCollection::FArchetypeEntityRange::operator== ( const FArchetypeEntityRange Other) const
inline

Member Data Documentation

◆ ChunkIndex

int32 FMassArchetypeEntityCollection::FArchetypeEntityRange::ChunkIndex = INDEX_NONE

◆ Length

int32 FMassArchetypeEntityCollection::FArchetypeEntityRange::Length = 0

The number of entities in this subchunk. If Length is 0 or negative, it indicates that the range covers all remaining entities in the chunk starting from SubchunkStart.

◆ SubchunkStart

int32 FMassArchetypeEntityCollection::FArchetypeEntityRange::SubchunkStart = 0

The index of the first entity within the specified chunk that starts this subchunk.


The documentation for this struct was generated from the following file: