UNiagaraNode::SubstituteCompiledPin

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

Choose your operating system:

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.