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