Navigation
API > API/Plugins > API/Plugins/MassRepresentation > API/Plugins/MassRepresentation/UMassRepresentationActorManageme- > API/Plugins/MassRepresentation/UMassRepresentationActorManageme-/ReleaseAnyActorO-
References
| Module | MassRepresentation |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationActorManagement.h |
| Include | #include "MassRepresentationActorManagement.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationActorManagement.cpp |
static void ReleaseAnyActorOrCancelAnySpawning
(
FMassEntityManager & EntityManager,
const FMassEntityHandle MassAgent
)
Remarks
Static methods to Release an actor or cancel its spawning (calls ReleaseAnyActorOrCancelAnySpawning) WARNING: This method will destroy the associated actor in any and by the same fact might also move the entity into a new archetype. So any reference to fragment might become invalid. True if actor was release or spawning request was canceled
Parameters
| Name | Description |
|---|---|
| EntityManager | to use to retrieve the mass agent fragments |
| MassAgent | is the handle to the associated mass agent |