Navigation
API > API/Runtime > API/Runtime/MassEntity
Command capable of adding any element type, be it a fragment or a tag. Note that this type of command can only be added via PushUniqueCommand
| Name | FMassCommandAddElement |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommands.h |
| Include Path | #include "MassCommands.h" |
Syntax
struct FMassCommandAddElement : public FMassBatchedEntityCommand
Inheritance Hierarchy
- FMassBatchedCommand → FMassBatchedEntityCommand → FMassCommandAddElement
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassCommandAddElement
(
const TNotNull< const UScriptStruct* > InElementType |
MassCommands.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Super | FMassBatchedEntityCommand | MassCommands.h |
Functions
Public
Protected
Overridden from FMassBatchedCommand
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Run
(
FMassEntityManager& EntityManager |
MassCommands.h |