UMassRepresentationProcessor::OnActorPostSpawn

Method that will be bound to a delegate used post-spawn to notify and let the requester configure the actor

Choose your operating system:

Windows

macOS

Linux

References

Module

MassRepresentation

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationProcessor.h

Include

#include "MassRepresentationProcessor.h"

Source

/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationProcessor.cpp

Syntax

EMassActorSpawnRequestAction OnActorPostSpawn
(
    const FMassActorSpawnRequestHandle & SpawnRequestHandle,
    const FStructView & SpawnRequest
)

Remarks

Method that will be bound to a delegate used post-spawn to notify and let the requester configure the actor

Returns

The action to take on the spawn request, either keep it there or remove it.

Parameters

Parameter

Description

SpawnRequestHandle

the handle of the spawn request that was just spawned

SpawnRequest

of the actor that just spawned