unreal.RigUnit_GetControlOffset

class unreal.RigUnit_GetControlOffset(control: Name = 'None', space: RigVMTransformSpace = Ellipsis, offset_transform: Transform = Ellipsis)

Bases: RigUnit

GetControlOffset 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_GetControlOffset.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • offset_transform (Transform): [Read-Write] The current transform of the given item - or identity in case it wasn’t found.

  • space (RigVMTransformSpace): [Read-Write] Defines if the transform should be retrieved in local or global space

property control: Name

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

Type:

(Name)

property offset_transform: Transform

[Read-Only] The current transform of the given item - or identity in case it wasn’t found.

Type:

(Transform)

property space: RigVMTransformSpace

[Read-Write] Defines if the transform should be retrieved in local or global space

Type:

(RigVMTransformSpace)