Navigation
API > API/Plugins > API/Plugins/MassActors
References
| Module | MassActors |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassActorSpawnerSubsystem.h |
| Include | #include "MassActorSpawnerSubsystem.h" |
Syntax
USTRUCT ()
struct FMassActorSpawnRequest
Remarks
Base class for all spawn request
Variables
| Type | Name | Description | |
|---|---|---|---|
| FMassActorPostSpawnDelegate | ActorPostSpawnDelegate | Delegate that will be called once the spawning is done. | |
| FMassActorPreSpawnDelegate | ActorPreSpawnDelegate | Delegate that will be called just before the spawning an actor, giving the chance to the processor to prepare it | |
| FGuid | Guid | If set, will be used to name the spawned character | |
| FMassEntityHandle | MassAgent | The actual mass agent handle corresponding to the actor to spawn | |
| float | Priority | Priority of this spawn request in comparison with the others, the lower the value is, the higher the priority is | |
| double | RequestedTime | Requested world time seconds | |
| uint32 | SerialNumber | Internal request serial number (used to cycle through next spawning request) | |
| TObjectPtr< AActor > | SpawnedActor | The pointer to the actor once it is spawned | |
| ESpawnRequestStatus | SpawnStatus | The current status of the spawn request | |
| TSubclassOf< AActor > | Template | The template BP actor to spawn | |
| FTransform | Transform | The location of where to spawn that actor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsFinished () |
||
| void | Reset () |