URigVMController::AddVariableNode

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

URigVMVariableNode * AddVariableNode
(
    const FName & InVariableName,
    const FString & InCPPType,
    UObject * InCPPTypeObject,
    bool bIsGetter,
    const FString & InDefaultValue,
    const FVector2D & InPosition,
    const FString & InNodeName,
    bool bUndo
)

Remarks

Adds a Variable Node to the edited Graph. Variables represent local work state for the function and can be read from and written to. 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