Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationProcessor.h |
Include |
#include "MassRepresentationProcessor.h" |
Source |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationProcessor.cpp |
static void ReleaseAnyActorOrCancelAnySpawning
(
UMassRepresentationSubsystem & RepresentationSubsystem,
const FMassEntityHandle MassAgent
)
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
Parameter |
Description |
---|---|
RepresentationSubsystem |
to use to release any actors or cancel spawning requests |
MassAgent |
is the handle to the associated mass agent |