URigVMController::AddVariableNodeFromObjectPath

Adds a Variable Node to the edited Graph given a 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

URigVMVariableNode * AddVariableNodeFromObjectPath
(
    const FName & InVariableName,
    const FString & InCPPType,
    const FString & InCPPTypeObjectPath,
    bool bIsGetter,
    const FString & InDefaultValue,
    const FVector2D & InPosition,
    const FString & InNodeName,
    bool bUndo
)

Remarks

Adds a Variable Node to the edited Graph given a struct object path name. Variables represent local work state for the function and can be read from (bIsGetter == true) or written to (bIsGetter == false). This causes a NodeAdded modified event.

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