Navigation
API > API/Plugins > API/Plugins/Niagara
| Name | EScriptExecutionMode |
| Type | enum |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEmitter.h |
| Include Path | #include "NiagaraEmitter.h" |
Syntax
enum EScriptExecutionMode
{
EveryParticle = 0,
SpawnedParticles,
SingleParticle,
}
Values
| Name | Remarks |
|---|---|
| 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. |