Navigation
API > API/Plugins > API/Plugins/MassEntity
Inheritance Hierarchy
- FMassBatchedCommand
- FMassCommandBuildEntityWithSharedFragments
References
| Module | MassEntity |
| Header | /Engine/Plugins/Runtime/MassEntity/Source/MassEntity/Public/MassCommands.h |
| Include | #include "MassCommands.h" |
Syntax
template<typename TSharedFragmentValues, typename... TOthers>
struct FMassCommandBuildEntityWithSharedFragments : public FMassBatchedCommand
Remarks
Note: that TSharedFragmentValues is always expected to be FMassArchetypeSharedFragmentValues, but is declared as template's param to maintain uniform command adding interface via FMassCommandBuffer.PushCommand. PushCommands received all input params in one `typename..._ list and as such cannot be easily split up to reason about.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< uint32, FPerSharedFragmentsHashData > | Data | ||
| FMassFragmentBitSet | FragmentsAffected |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
FMassEntityHandle Entity, |
Overridden from FMassBatchedCommand
| Type | Name | Description | |
|---|---|---|---|
| void | Execute
(
FMassEntityManager& System |
||
| SIZE_T | |||
| int32 | |||
| void | Reset () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPerSharedFragmentsHashData |
Typedefs
| Name | Description |
|---|---|
| Super |