UParticleModuleEventGenerator::HandleParticleKilled

Called when a particle is killed 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 HandleParticleKilled
(
    FParticleEmitterInstance * Owner,
    FParticleEventInstancePayload * EventPayload,
    FBaseParticle * DeadParticle
)

Remarks

Called when a particle is killed 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.

DeadParticle

Pointer to the particle that is being killed.

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