unreal.RigUnit_SetControlOffset

class unreal.RigUnit_SetControlOffset(execute_context: ControlRigExecuteContext = [], control: Name = 'None', offset: Transform = Ellipsis, space: BoneGetterSetterMode = Ellipsis)

Bases: RigUnitMutable

SetControlOffset is used to perform a change in the hierarchy by setting a single control’s transform. This is typically only used during the Construction Event.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_SetControlOffset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • control (Name): [Read-Write] Control: The name of the Control to set the transform for.

  • execute_context (ControlRigExecuteContext): [Read-Write] Execute Context: * This property is used to chain multiple mutable units together

  • offset (Transform): [Read-Write] Offset: The offset transform to set for the control

  • space (BoneGetterSetterMode): [Read-Write] Space: Defines if the bone’s transform should be set in local or global space.

property control: Name

[Read-Write] Control: The name of the Control to set the transform for.

Type:

(Name)

property offset: Transform

[Read-Write] Offset: The offset transform to set for the control

Type:

(Transform)

property space: BoneGetterSetterMode

[Read-Write] Space: Defines if the bone’s transform should be set in local or global space.

Type:

(BoneGetterSetterMode)