Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/UNiagaraNodeFunctionCall
Description
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.
| Name | AddOrphanedStaticSwitchPinForDataRetention |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeFunctionCall.h |
| Include Path | #include "NiagaraNodeFunctionCall.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraNodeFunctionCall.cpp |
void AddOrphanedStaticSwitchPinForDataRetention
(
FNiagaraVariableBase StaticSwitchVariable,
const FString & StaticSwitchPinDefault
)