Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Event > API/Runtime/Engine/Particles/Event/UParticleModuleEventGenerator
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 |
virtual bool HandleParticleKilled
(
FParticleEmitterInstance * Owner,
FParticleEventInstancePayload * EventPayload,
FBaseParticle * DeadParticle
)
Remarks
Called when a particle is killed and an event payload is present. bool true if processed, false if not.
Parameters
| Name | Description |
|---|---|
| Owner | Pointer to the owning FParticleEmitterInstance. |
| EventPayload | Pointer to the event instance payload data. |
| DeadParticle | Pointer to the particle that is being killed. |