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

Return type

str

get_cpp_type_object() Object

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

Return type

Object

get_default_value() str

Returns the default value of the variable as a string

Return type

str

get_variable_description() RigVMGraphVariableDescription

Returns this variable node’s variable description

Return type

RigVMGraphVariableDescription

get_variable_name() Name

Returns the name of the variable

Return type

Name

is_getter() bool

Returns true if this node is a variable getter

Return type

bool

is_input_argument() bool

Returns true if this variable is an input argument

Return type

bool

is_local_variable() bool

Returns true if this variable is a local variable

Return type

bool