Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Event
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleEventBase
- UParticleModuleEventGenerator
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Event/ParticleModuleEventGenerator.h |
Include | #include "Particles/Event/ParticleModuleEventGenerator.h" |
Syntax
class UParticleModuleEventGenerator : public UParticleModuleEventBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< struct FParticleEvent_GenerateInfo > | Events |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleEventGenerator
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | HandleParticleBurst
(
FParticleEmitterInstance* Owner, |
Called when a particle bursts and an event payload is present. |
![]() ![]() |
bool | HandleParticleCollision
(
FParticleEmitterInstance* Owner, |
Called when a particle collides and an event payload is present. |
![]() ![]() |
bool | HandleParticleKilled
(
FParticleEmitterInstance* Owner, |
Called when a particle is killed and an event payload is present. |
![]() ![]() |
bool | HandleParticleSpawned
(
FParticleEmitterInstance* Owner, |
Called when a particle is spawned and an event payload is present. |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32 | PrepPerInstanceBlock
(
FParticleEmitterInstance* Owner, |
Allows the module to prep its 'per-instance' data block. |
![]() ![]() |
uint32 | RequiredBytes
(
UParticleModuleTypeDataBase* TypeData |
Returns the number of bytes that the module requires in the particle payload block. |
![]() ![]() |
uint32 | Returns the number of bytes the module requires in the emitters 'per-instance' data block. | |
![]() ![]() |
void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. |
![]() ![]() |
void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its emitter. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |