unreal.RigVMUnitNode

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

Bases: unreal.RigVMNode

The Struct Node represents a Function Invocation of a RIGVM_METHOD declared on a USTRUCT. Struct Nodes have input / output pins for all struct UPROPERTY members.

C++ Source:

  • Module: RigVMDeveloper

  • File: RigVMUnitNode.h

get_method_name() Name

Returns the name of the declared RIGVM_METHOD

Return type

Name

get_script_struct() ScriptStruct

Returns the UStruct for this unit node (the struct declaring the RIGVM_METHOD)

Return type

ScriptStruct

get_struct_default_value() str

Returns the default value for the struct as text

Return type

str