unreal.RigUnit_GetControlInitialTransform

class unreal.RigUnit_GetControlInitialTransform(control: Name = 'None', space: BoneGetterSetterMode = Ellipsis, transform: Transform = Ellipsis)

Bases: RigUnit

GetControlTransform is used to retrieve a single transform from a hierarchy.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_GetControlInitialTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

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

property control: Name

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

Type:

(Name)

property space: BoneGetterSetterMode

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

Type:

(BoneGetterSetterMode)

property transform: Transform

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

Type:

(Transform)