Navigation
API > API/Plugins > API/Plugins/MassRepresentation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassRepresentationActorManagement
- UMassCrowdRepresentationActorManagement
References
| Module | MassRepresentation |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationActorManagement.h |
| Include | #include "MassRepresentationActorManagement.h" |
Syntax
UCLASS&40;&41;
class UMassRepresentationActorManagement : public UObject
Functions
| Type | Name | Description | |
|---|---|---|---|
| AActor * | GetOrSpawnActor
(
UMassRepresentationSubsystem& RepresentationSubsystem, |
Returns an actor of the template type and setup fragments values from it | |
| float | GetSpawnPriority
(
const FMassRepresentationLODFragment& Representation |
Returns the spawn priority from the LOD | |
| 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 | |
| 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 | |
| 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. | |
| 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. | |
| void | SetActorEnabled
(
const EMassActorEnabledType EnabledType, |
Enable/disable a spawned actor for a mass entity | |
| void | TeleportActor
(
const FTransform& Transform, |
Teleports the actor at the specified transform by preserving its velocity and without collision. |