UParticleModuleEventReceiverSpawn

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Public variable

uint32: 1

 

bBanPhysicalMaterials

When true, the PhysicalMaterials list is used to ban specified materials for collision events but allow all others.

Public variable

uint32: 1

 

bInheritVelocity

If true, use the velocity of the dying particle as the start velocity of the spawned particle.

Public variable

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.

Public variable

uint32: 1

 

bUsePSysLocation

If true, use the location of the particle system component for spawning.

Public variable

FRawDistributio...

 

InheritVelocityScale

If bInheritVelocity is true, scale the velocity with this.

Public variable

TArray< TObject...

 

PhysicalMaterials

Array of physical materials that can be used to allow or ban a specific set of materials when receiving collision events.

Public variable

FRawDistributio...

 

SpawnCount

The number of particles to spawn.

Constructors

Name Description

Public function

UParticleModuleEventReceiverSpawn

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Overridden from UParticleModuleEventReceiverBase

Name Description

Public function Virtual

bool

 

ProcessParticleEvent

(
    FParticleEmitterInstance* Owne...,
    FParticleEventData& InEvent,
    float DeltaTime
)

Process the event...

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.