Navigation
API > API/Plugins > API/Plugins/MassActors > API/Plugins/MassActors/UMassActorSpawnerSubsystem
Description
Request an actor to spawn Note: If you do not provide a spawn delegate, the requester is responsible to remove the request by hand. It will be auto removed after the execution of the spawn delegate.
| Name | RequestActorSpawn |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassActorSpawnerSubsystem.h |
| Include Path | #include "MassActorSpawnerSubsystem.h" |
template<typename T, typename>
FMassActorSpawnRequestHandle RequestActorSpawn
(
const T & InSpawnRequest
)
Parameters
| Name | Remarks |
|---|---|
| InSpawnRequest | the spawn request parameters, You can provide any type of UStruct as long at it derives from FMassActorSpawnRequest. This let you add more spawning information. |