unreal.RigUnit_GetBoneTransform

class unreal.RigUnit_GetBoneTransform(bone: Name = 'None', space: RigVMTransformSpace = Ellipsis, transform: Transform = Ellipsis)

Bases: RigUnit

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

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_GetBoneTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

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

property bone: Name

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

Type:

(Name)

property space: RigVMTransformSpace

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

Type:

(RigVMTransformSpace)

property transform: Transform

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

Type:

(Transform)