/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeFunctionCall.h
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.
void AddOrphanedStaticSwitchPinForDataRetention ( [FNiagaraVariableBase](API\Plugins\Niagara\FNiagaraVariableBase) StaticSwitchVariable, const [FString](API\Runtime\Core\Containers\FString) & StaticSwitchPinDefault )