URigVMController::AddInjectedNode

Adds a Function / Struct Node to the edited Graph as an injected node UnitNode represent a RIGVM_METHOD declaration on a USTRUCT.

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

URigVMInjectionInfo * AddInjectedNode
(
    const FString & InPinPath,
    bool bAsInput,
    UScriptStruct * InScriptStruct,
    const FName & InMethodName,
    const FName & InInputPinName,
    const FName & InOutputPinName,
    const FString & InNodeName,
    bool bSetupUndoRedo,
    bool bPrintPythonCommand
)

Remarks

Adds a Function / Struct Node to the edited Graph as an injected node UnitNode represent a RIGVM_METHOD declaration on a USTRUCT. This causes a NodeAdded modified event.