Navigation
API > API/Plugins > API/Plugins/MassRepresentation > API/Plugins/MassRepresentation/UMassRepresentationActorManageme- > API/Plugins/MassRepresentation/UMassRepresentationActorManageme-/OnPostActorSpawn
References
| Module | MassRepresentation |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationActorManagement.h |
| Include | #include "MassRepresentationActorManagement.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationActorManagement.cpp |
virtual EMassActorSpawnRequestAction OnPostActorSpawn
(
const FMassActorSpawnRequestHandle & SpawnRequestHandle,
FConstStructView SpawnRequest,
TSharedRef< FMassEntityManager > EntityManager
) const
Remarks
Method that will be bound to a delegate used post-spawn to notify and let the requester configure the actor The action to take on the spawn request, either keep it there or remove it.
Parameters
| Name | Description |
|---|---|
| SpawnRequestHandle | the handle of the spawn request that was just spawned |
| SpawnRequest | of the actor that just spawned |
| EntityManager | to use to retrieve the mass agent fragments |