URigVMController::AddParameterNode

Adds a Parameter 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

URigVMParameterNode * AddParameterNode
(
    const FName & InParameterName,
    const FString & InCPPType,
    UObject * InCPPTypeObject,
    bool bIsInput,
    const FString & InDefaultValue,
    const FVector2D & InPosition,
    const FString & InNodeName,
    bool bSetupUndoRedo,
    bool bPrintPythonCommand
)

Remarks

Adds a Parameter Node to the edited Graph. Parameters represent input or output arguments to the Graph / Function. Input Parameters are constant values / literals. This causes a NodeAdded modified event.