ENiagaraDefaultMode

TODO: Custom will eventually mean that the default value or binding will be overridden by a subgraph default, i.e. expose it to a "Initialize variable" node.

Windows
MacOS
Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraCommon.h"

Syntax

enum ENiagaraDefaultMode
{
    Value                     = 0,
    Binding,
    Custom,
    FailIfPreviouslyNotSet,
}

Values

Name

Description

Value

Default initialize using a value widget in the Selected Details panel.

Binding

Default initialize using a dropdown widget in the Selected Details panel.

Custom

Default initialization is done using a sub-graph.

FailIfPreviouslyNotSet

Fail compilation if this value has not been set previously in the stack.

Remarks

TODO: Custom will eventually mean that the default value or binding will be overridden by a subgraph default, i.e. expose it to a "Initialize variable" node. TODO: Should we add an "Uninitialized" entry, or is that too much friction?

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