Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Event
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleEventBase
- UParticleModuleEventReceiverBase
- UParticleModuleEventReceiverSpawn
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Event/ParticleModuleEventReceiverSpawn.h |
Include | #include "Particles/Event/ParticleModuleEventReceiverSpawn.h" |
Syntax
class UParticleModuleEventReceiverSpawn : public UParticleModuleEventReceiverBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bBanPhysicalMaterials | When true, the PhysicalMaterials list is used to ban specified materials for collision events but allow all others. |
![]() |
uint32: 1 | bInheritVelocity | If true, use the velocity of the dying particle as the start velocity of the spawned particle. |
![]() |
uint32: 1 | bUseParticleTime | For Death-based event receiving, if this is true, it indicates that the ParticleTime of the event should be used to look-up the SpawnCount. |
![]() |
uint32: 1 | bUsePSysLocation | If true, use the location of the particle system component for spawning. |
![]() |
FRawDistributionVector | InheritVelocityScale | If bInheritVelocity is true, scale the velocity with this. |
![]() |
TArray< TObjectPtr< UPhysicalMaterial > > | PhysicalMaterials | Array of physical materials that can be used to allow or ban a specific set of materials when receiving collision events. |
![]() |
FRawDistributionFloat | SpawnCount | The number of particles to spawn. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleEventReceiverSpawn
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initializes the default values for this property |
Overridden from UParticleModuleEventReceiverBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | ProcessParticleEvent
(
FParticleEmitterInstance* Owner, |
Process the event... |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |