UNiagaraNode::SubstituteCompiledPin

Allows a node to replace a pin that is about to be compiled with another pin.

Windows
MacOS
Linux

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNode.h

Include

#include "NiagaraNode.h"

Source

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraNode.cpp

Syntax

virtual bool SubstituteCompiledPin
(
    FHlslNiagaraTranslator * Translator,
    UEdGraphPin ** LocallyOwnedPin
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss