Navigation
API > API/Plugins > API/Plugins/MassRepresentation
| Name | UMassRepresentationActorManagement |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationActorManagement.h |
| Include Path | #include "MassRepresentationActorManagement.h" |
Syntax
UCLASS (MinimalAPI)
class UMassRepresentationActorManagement : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMassRepresentationActorManagement
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual AActor * GetOrSpawnActor
(
UMassRepresentationSubsystem& RepresentationSubsystem, |
Returns an actor of the template type and setup fragments values from it | MassRepresentationActorManagement.h | |
virtual float GetSpawnPriority
(
const FMassRepresentationLODFragment& Representation |
Returns the spawn priority from the LOD | MassRepresentationActorManagement.h | |
virtual EMassActorSpawnRequestAction OnPostActorSpawn
(
const FMassActorSpawnRequestHandle& SpawnRequestHandle, |
Method that will be bound to a delegate used post-spawn to notify and let the requester configure the actor | MassRepresentationActorManagement.h | |
virtual void OnPreActorSpawn
(
const FMassActorSpawnRequestHandle& SpawnRequestHandle, |
Method that will be bound to a delegate called before the spawning of an actor to let the requester prepare it | MassRepresentationActorManagement.h | |
virtual void SetActorEnabled
(
const EMassActorEnabledType EnabledType, |
Enable/disable a spawned actor for a mass entity | MassRepresentationActorManagement.h | |
virtual void TeleportActor
(
const FTransform& Transform, |
Teleports the actor at the specified transform by preserving its velocity and without collision. | MassRepresentationActorManagement.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ReleaseAnyActorOrCancelAnySpawning
(
FMassEntityManager& EntityManager, |
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. | MassRepresentationActorManagement.h | |
static void ReleaseAnyActorOrCancelAnySpawning
(
UMassRepresentationSubsystem& RepresentationSubsystem, |
Static Release an actor or cancel its spawning WARNING: This method will destroy the associated actor in any and by the same fact might also move the entity into a new archetype. | MassRepresentationActorManagement.h |