Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/UMassCrowdRepresentationActorMan-
- UMassRepresentationActorManagement::SetActorEnabled()
- UMassCrowdRepresentationActorManagement::SetActorEnabled()
References
| Module | MassCrowd |
| Header | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/MassCrowdRepresentationActorManagement.h |
| Include | #include "MassCrowdRepresentationActorManagement.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/MassCrowdRepresentationActorManagement.cpp |
virtual void SetActorEnabled
(
const EMassActorEnabledType EnabledType,
AActor & Actor,
const int32 EntityIdx,
FMassCommandBuffer & CommandBuffer
) const
Remarks
Enable/disable a spawned actor
Parameters
| Name | 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 |
| Context | is the current Mass execution context |