UMassRepresentationProcessor::OnActorPreSpawn

Method that will be bound to a delegate called before the spawning of an actor to let the requester prepare it

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

void OnActorPreSpawn
(
    const FMassActorSpawnRequestHandle & SpawnRequestHandle,
    const FStructView & SpawnRequest
)

Remarks

Method that will be bound to a delegate called before the spawning of an actor to let the requester prepare it

Parameters

Parameter

Description

SpawnRequestHandle

the handle of the spawn request that is about to spawn

SpawnRequest

of the actor that is about to spawn