URigVMController::AddRerouteNodeOnPin

Adds a Reroute Node on an existing Pin to the editor Graph.

Windows
MacOS
Linux

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMModel/RigVMController.h

Include

#include "RigVMModel/RigVMController.h"

Source

/Engine/Source/Developer/RigVMDeveloper/Private/RigVMModel/RigVMController.cpp

Syntax

URigVMRerouteNode * AddRerouteNodeOnPin
(
    const FString & InPinPath,
    bool bAsInput,
    bool bShowAsFullNode,
    const FVector2D & InPosition,
    const FString & InNodeName,
    bool bSetupUndoRedo,
    bool bPrintPythonCommand
)

Remarks

Adds a Reroute Node on an existing Pin to the editor Graph. Reroute Nodes can be used to visually improve the data flow, they don't require any additional memory though and are purely cosmetic. This causes a NodeAdded modified event.