Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassCommandBuffer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddElements
(
FMassEntityHandle Entity |
Adds any mix of non-shared element types (fragments, tags, sparse) to an entity. | MassCommandBuffer.h | |
void AddElements
(
TConstArrayView< FMassEntityHandle > Entities |
Adds any mix of non-shared element types (fragments, tags, sparse) to entities. | MassCommandBuffer.h | |
void AddElements
(
FMassEntityHandle Entity, |
Adds any mix of non-shared element types to an entity. | MassCommandBuffer.h | |
void AddElements
(
TConstArrayView< FMassEntityHandle > Entities, |
Adds any mix of non-shared element types to entities. | MassCommandBuffer.h |
AddElements(FMassEntityHandle)
Description
Adds any mix of non-shared element types (fragments, tags, sparse) to an entity. Batches via PushCommand.
| Name | AddElements |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
template<typename... TTypes>
void AddElements
(
FMassEntityHandle Entity
)
AddElements(TConstArrayView< FMassEntityHandle >)
Description
Adds any mix of non-shared element types (fragments, tags, sparse) to entities. Batches via PushCommand.
| Name | AddElements |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
template<typename... TTypes>
void AddElements
(
TConstArrayView< FMassEntityHandle > Entities
)
AddElements(FMassEntityHandle, TConstArrayView< const UScriptStruct * >)
Description
Adds any mix of non-shared element types to an entity. Types provided at runtime. Uses PushUniqueCommand.
| Name | AddElements |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
void AddElements
(
FMassEntityHandle Entity,
TConstArrayView< const UScriptStruct * > ElementTypes
)
AddElements(TConstArrayView< FMassEntityHandle >, TConstArrayView< const UScriptStruct * >)
Description
Adds any mix of non-shared element types to entities. Types provided at runtime. Uses PushUniqueCommand.
| Name | AddElements |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
void AddElements
(
TConstArrayView< FMassEntityHandle > Entities,
TConstArrayView< const UScriptStruct * > ElementTypes
)