Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleEventGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Event/ParticleModuleEventGenerator.h |
| Include Path | #include "Particles/Event/ParticleModuleEventGenerator.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Event Generator"))
class UParticleModuleEventGenerator : public UParticleModuleEventBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleEventBase → UParticleModuleEventGenerator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleEventGenerator
(
const FObjectInitializer& ObjectInitializer |
Particles/Event/ParticleModuleEventGenerator.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Events | TArray< struct FParticleEvent_GenerateInfo > | Particles/Event/ParticleModuleEventGenerator.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool HandleParticleBurst
(
FParticleEmitterInstance* Owner, |
Called when a particle bursts and an event payload is present. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual bool HandleParticleCollision
(
FParticleEmitterInstance* Owner, |
Called when a particle collides and an event payload is present. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual bool HandleParticleKilled
(
FParticleEmitterInstance* Owner, |
Called when a particle is killed and an event payload is present. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual bool HandleParticleSpawned
(
FParticleEmitterInstance* Owner, |
Called when a particle is spawned and an event payload is present. | Particles/Event/ParticleModuleEventGenerator.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 PrepPerInstanceBlock
(
FParticleEmitterInstance* Owner, |
Allows the module to prep its 'per-instance' data block. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual uint32 RequiredBytes
(
UParticleModuleTypeDataBase* TypeData |
Returns the number of bytes that the module requires in the particle payload block. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual uint32 RequiredBytesPerInstance() |
Returns the number of bytes the module requires in the emitters 'per-instance' data block. | Particles/Event/ParticleModuleEventGenerator.h | |
virtual void Spawn
(
const FSpawnContext& Context |
Particles/Event/ParticleModuleEventGenerator.h | ||
virtual void Update
(
const FUpdateContext& Context |
Particles/Event/ParticleModuleEventGenerator.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Event/ParticleModuleEventGenerator.h |