ENiagaraCompileUsageStaticSwitch

Defines different usages for a niagara script.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h

Include

#include "NiagaraCommon.h"

Syntax

enum ENiagaraCompileUsageStaticSwitch
{
    Spawn,
    Update,
    Event,
    SimulationStage,
    Default,
}

Values

Name

Description

Spawn

The script is called during the spawn phase.

Update

The script is called during the update phase.

Event

The script is called in an event context.

SimulationStage

The script is called as part of a simulation stage.

Default

The default value if the compiler cannot map the compilation context.

Remarks

Defines different usages for a niagara script.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss