URigVMVariableNode

The Variable Node represents a mutable value / local state within the the Function / Graph.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMModel/Nodes/RigVMVariableNode.h

Include

#include "RigVMModel/Nodes/RigVMVariableNode.h"

Syntax

class URigVMVariableNode : public URigVMNode

Remarks

The Variable Node represents a mutable value / local state within the the Function / Graph. Variable Node's can be a getter or a setter. Getters are pure nodes with just an output value pin, while setters are mutable nodes with an execute and input value pin.

Constructors

Name Description

Public function

URigVMVariableNode()

Default constructor.

Functions

Name Description

Public function Const

FString

 

GetCPPType()

Returns the C++ data type of the variable.

Public function Const

UObject *...

 

GetCPPTypeObject()

Returns the C++ data type struct of the variable (or nullptr)

Public function Const

FString

 

GetDefaultValue()

Returns the default value of the variable as a string.

Public function Const

FRigVMGraphV...

 

GetVariableDescription()

Returns this variable node's variable description.

Public function Const

FName

 

GetVariableName()

Returns the name of the variable.

Public function Const

bool

 

IsGetter()

Returns true if this node is a variable getter.

Public function Const

bool

 

IsInputArgument()

Returns true if this variable is an input argument.

Public function Const

bool

 

IsLocalVariable()

Returns true if this variable is a local variable.

Overridden from URigVMNode

Name Description

Public function Virtual Const

FLinearColor

 

GetNodeColor()

Override of node title.

Public function Virtual Const

FString

 

GetNodeTitle()

Override of node title.

Public function Virtual Const

bool

 

IsDefinedAsVarying()

Returns true if the node is defined as non-varying.

Constants

Name

Description

ValueName

VariableName