/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNode.h
Allows a node to replace a pin that is about to be compiled with another pin. This can be used for either optimizations or features such as the static switch. Returns true if the pin was successfully replaced, false otherwise.
virtual bool SubstituteCompiledPin ( [FTranslator](API\Plugins\NiagaraEditor\UNiagaraNode\FTranslator) * Translator, [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) ** LocallyOwnedPin )