unreal.RigUnit_PoseAssetGetBoneIndex

class unreal.RigUnit_PoseAssetGetBoneIndex(pose_asset: PoseAsset = Ellipsis, bone_name: Name = 'None', index: int = 0, success: bool = False)

Bases: RigUnit_PoseAssetBase

Returns the index of a bone track based on the bone name

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_PoseAsset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_name (Name): [Read-Write] The name of bone index to retrieve

  • index (int32): [Read-Write] The index of the bone

  • pose_asset (PoseAsset): [Read-Write] The pose asset to retrieve data from

  • success (bool): [Read-Write] True if the bone index was determined successfully

property bone_name: Name

[Read-Write] The name of bone index to retrieve

Type:

(Name)

property index: int

[Read-Only] The index of the bone

Type:

(int32)

property success: bool

[Read-Only] True if the bone index was determined successfully

Type:

(bool)