Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UNiagaraNodeFunctionCall
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeFunctionCall.h |
| Include | #include "NiagaraNodeFunctionCall.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraNodeFunctionCall.cpp |
void AddOrphanedStaticSwitchPinForDataRetention
&40;
FNiagaraVariableBase StaticSwitchVariable,
const FString & StaticSwitchPinDefault
&41;
Remarks
Adds a static switch pin to this function call node by variable id and sets it's default value using the supplied data and marks it as orphaned. This allows a previously available static switch value to be retained on the node even if the the switch is no longer exposed.