Navigation
API > API/Runtime > API/Runtime/MassEntity
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.
| Name | FMassCommandBuildEntityWithSharedFragments |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommands.h |
| Include Path | #include "MassCommands.h" |
Syntax
template<typename TSharedFragmentValues, typename... TOthers>
struct FMassCommandBuildEntityWithSharedFragments : public FMassBatchedCommand
Inheritance Hierarchy
- FMassBatchedCommand → FMassCommandBuildEntityWithSharedFragments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassCommandBuildEntityWithSharedFragments() |
MassCommands.h |
Structs
| Name | Remarks |
|---|---|
| FPerSharedFragmentsHashData |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FMassBatchedCommand | MassCommands.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Add
(
FMassEntityHandle Entity, |
MassCommands.h |
Protected
Overridden from FMassBatchedCommand
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual SIZE_T GetAllocatedSize() |
MassCommands.h | ||
virtual int32 GetNumOperationsStat() |
MassCommands.h | ||
virtual void Reset() |
MassCommands.h | ||
virtual void Run
(
FMassEntityManager& EntityManager |
MassCommands.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CheckBreakpoints
(
TOthers... InFragments |
MassCommands.h |