Module |
|
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 |
virtual bool HandleParticleSpawned
(
FParticleEmitterInstance * Owner,
FParticleEventInstancePayload * EventPayload,
FBaseParticle * NewParticle
)
Called when a particle is spawned and an event payload is present.
bool true if processed, false if not.
Parameter |
Description |
---|---|
Owner |
Pointer to the owning FParticleEmitterInstance. |
EventPayload |
Pointer to the event instance payload data. |
NewParticle |
Pointer to the particle that was spawned. |