unreal.RigUnit_AddAvailableSpaces

class unreal.RigUnit_AddAvailableSpaces(execute_pin: RigVMExecutePin = [], control: RigElementKey = Ellipsis, spaces: None = [])

Bases: RigUnit_DynamicHierarchyBaseMutable

Adds available spaces for a given control. This is used for the space switching widget.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DynamicHierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • control (RigElementKey): [Read-Write] * The available spaces to add for a given control

  • execute_pin (RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units together

  • spaces (Array[RigElementKeyWithLabel]): [Read-Write] * The spaces to add

property control: RigElementKey

[Read-Write] * The available spaces to add for a given control

Type:

(RigElementKey)

property spaces: None

[Read-Write] * The spaces to add

Type:

(Array[RigElementKeyWithLabel])