unreal.RigVMVariableNode

class unreal.RigVMVariableNode(outer=None, name='None')

Bases: unreal.RigVMNode

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.

C++ Source:

  • Module: RigVMDeveloper

  • File: RigVMVariableNode.h

get_cpp_type()str

Returns the C++ data type of the variable

Returns

Return type

str

get_cpp_type_object()Object

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

Returns

Return type

Object

get_default_value()str

Returns the default value of the variable as a string

Returns

Return type

str

get_variable_description()RigVMGraphVariableDescription

Returns this variable node’s variable description

Returns

Return type

RigVMGraphVariableDescription

get_variable_name()Name

Returns the name of the variable

Returns

Return type

Name

is_getter()bool

Returns true if this node is a variable getter

Returns

Return type

bool