EScriptExecutionMode

Choose your operating system:

Windows

macOS

Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitter.h

Include

#include "NiagaraEmitter.h"

Syntax

enum EScriptExecutionMode
{
    EveryParticle       = 0,
    SpawnedParticles,
    SingleParticle,
}

Values

Name

Description

EveryParticle

The event script is run on every existing particle in the emitter.

SpawnedParticles

The event script is run only on the particles that were spawned in response to the current event in the emitter.

SingleParticle

The event script is run only on the particle whose int32 ParticleIndex is specified in the event payload.