Navigation
API > API/Plugins > API/Plugins/MassEntity
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassArchetypeTypes.h |
| Include | #include "MassArchetypeTypes.h" |
Syntax
struct FMassArchetypeEntityCollection
Remarks
A struct that converts an arbitrary array of entities of given Archetype into a sequence of continuous entity chunks. The goal is to have the user create an instance of this struct once and run through a bunch of systems. The runtime code usually uses FMassArchetypeChunkIterator to iterate on the chunk collection.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMassArchetypeEntityCollection
(
const FMassArchetypeHandle& InArchetypeHandle, |
|||
FMassArchetypeEntityCollection
(
TSharedPtr< FMassArchetypeData >& InArchetype, |
|||
FMassArchetypeEntityCollection
(
FMassArchetypeHandle& InArchetypeHandle, |
|||
FMassArchetypeEntityCollection
(
const FMassArchetypeHandle& InArchetype, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildEntityRanges
(
TStridedView< const int32 > TrueIndices |
||
| const FMassArchetypeHandle & | GetArchetype () |
||
| FConstEntityRangeArrayView | GetRanges () |
||
| bool | IsEmpty () |
||
| bool | IsSame
(
const FMassArchetypeEntityCollection& Other |
The comparison function that checks if Other is identical to this. | |
| bool | IsSet () |
||
| void | Reset () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArchetypeEntityRange |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDuplicatesHandling | |||
| EInitializationType |
Typedefs
| Name | Description |
|---|---|
| FConstEntityRangeArrayView | |
| FEntityRangeArray |