unreal.RigControlElement

class unreal.RigControlElement(key: RigElementKey = Ellipsis, created_at_instruction_index: int = 0, spawn_index: int = 0, preferred_euler_angles: RigPreferredEulerAngles = Ellipsis)

Bases: RigMultiParentElement

Rig Control Element

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigHierarchyElements.h

Editor Properties: (see get_editor_property/set_editor_property)

  • created_at_instruction_index (int32): [Read-Write]

  • index (int32): [Read-Only] deprecated: Index cannot be used directly. Storage indices are invalidated on hierarchy reconstruction. Use the Get Index node (URigHierarchy::GetIndex) with the element’s Key instead.

  • key (RigElementKey): [Read-Only]

  • preferred_euler_angles (RigPreferredEulerAngles): [Read-Write]

  • selected (bool): [Read-Write] deprecated: bSelected cannot be accessed directly. Use URigHierarchy::IsSelected instead.

  • settings (RigControlSettings): [Read-Write] deprecated: Settings cannot be accessed directly. Use the Get Control Settings node (URigHierarchy::GetControlSettings) instead.

  • spawn_index (int32): [Read-Write]

  • sub_index (int32): [Read-Only] deprecated: SubIndex cannot be used directly. Storage indices are invalidated on hierarchy reconstruction. Use the Get Local Index node (URigHierarchy::GetLocalIndex) with the element’s Key instead.

property preferred_euler_angles: RigPreferredEulerAngles

[Read-Only]

Type:

(RigPreferredEulerAngles)

property settings: RigControlSettings

[Read-Only] deprecated: Settings cannot be accessed directly. Use the Get Control Settings node (URigHierarchy::GetControlSettings) instead.

Type:

(RigControlSettings)