Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/URigVMController
Description
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.
| Name | AddVariableNodeFromObjectPath |
| Type | function |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMController.h |
| Include Path | #include "RigVMModel/RigVMController.h" |
| Source | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Private/RigVMModel/RigVMController.cpp |
UFUNCTION (BlueprintCallable, Category=RigVMController)
URigVMVariableNode * AddVariableNodeFromObjectPath
(
const FName & InVariableName,
const FString & InCPPType,
const FString & InCPPTypeObjectPath,
bool bIsGetter,
const FString & InDefaultValue,
const FVector2D & InPosition,
const FString & InNodeName,
bool bSetupUndoRedo,
bool bPrintPythonCommand
)