URigVMController::AddUnitNodeFromStructPath

Adds a Function / Struct Node to the edited Graph given its struct object path name.

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

URigVMUnitNode * AddUnitNodeFromStructPath
(
    const FString & InScriptStructPath,
    const FName & InMethodName,
    const FVector2D & InPosition,
    const FString & InNodeName,
    bool bSetupUndoRedo,
    bool bPrintPythonCommand
)

Remarks

Adds a Function / Struct Node to the edited Graph given its struct object path name. UnitNode represent a RIGVM_METHOD declaration on a USTRUCT. This causes a NodeAdded modified event.