Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassCommandBuffer
Description
Ordinary PushCommand calls try to reuse existing command instances (as stored in CommandInstances) based on their type. This command lets callers add a manually configured command instance, that might not be distinguishable from other commands based solely on its type. For example, when you implement a command type that has member properties that control how the given command works or what exactly it does.
| Name | PushUniqueCommand |
| Type | function |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassCommandBuffer.h |
| Include Path | #include "MassCommandBuffer.h" |
void PushUniqueCommand
(
TUniquePtr < FMassBatchedCommand > && CommandInstance
)