Navigation
API > API/Plugins > API/Plugins/Niagara
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?
| Name | ENiagaraDefaultMode |
| Type | enum |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h |
| Include Path | #include "NiagaraCommon.h" |
Syntax
enum ENiagaraDefaultMode
{
Value = 0,
Binding,
Custom,
FailIfPreviouslyNotSet,
}
Values
| Name | Remarks |
|---|---|
| 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. |