Choose your operating system:
Windows
macOS
Linux
| UMassRepresentationProcessor::SetActorEnabled()
|
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 |
virtual void SetActorEnabled
(
const EActorEnabledType EnabledType,
AActor & Actor,
const int32 EntityIdx,
FMassCommandBuffer & CommandBuffer
)
Enable/disable a spawned actor
Parameter |
Description |
---|---|
EnabledType |
is the type of enabling to do on this actor |
Actor |
is the actual actor to perform enabling type on |
EntityIdx |
is the entity index currently processing |
CommandBuffer |
to queue up anything that is thread sensitive |