UParticleModuleEventGenerator::HandleParticleSpawned

Called when a particle is spawned and an event payload is present.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Event/ParticleModuleEventGenerator.h

Include

#include "Particles/Event/ParticleModuleEventGenerator.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Event.cpp

Syntax

virtual bool HandleParticleSpawned
(
    FParticleEmitterInstance * Owner,
    FParticleEventInstancePayload * EventPayload,
    FBaseParticle * NewParticle
)

Remarks

Called when a particle is spawned and an event payload is present.

Returns

bool true if processed, false if not.

Parameters

Parameter

Description

Owner

Pointer to the owning FParticleEmitterInstance.

EventPayload

Pointer to the event instance payload data.

NewParticle

Pointer to the particle that was spawned.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss