unreal.RigUnit_GetInitialBoneTransform

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

Bases: RigUnit

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

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_GetInitialBoneTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • space (BoneGetterSetterMode): [Read-Write] Space: Defines if the bone’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 bone: Name

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

Type:

(Name)

property space: BoneGetterSetterMode

[Read-Write] Space: Defines if the bone’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)