unreal.RigUnit_PoseAssetGetPoseForItems

class unreal.RigUnit_PoseAssetGetPoseForItems(pose_asset: PoseAsset = Ellipsis, poses: None = [], items: None = [], mode: PoseAssetGetPoseForItemsMode = Ellipsis, bones: None = [], local_transforms: None = [], curves: None = [], curve_values: None = [], success: bool = False)

Bases: RigUnit_PoseAssetBase

Returns the transforms and curve values of a set of poses

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_PoseAsset.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bones (Array[RigElementKey]): [Read-Write] Only the bones returned from the pose

  • curve_values (Array[float]): [Read-Write] The values of the retrieved curves

  • curves (Array[RigElementKey]): [Read-Write] Only the curves returned from the pose

  • items (Array[RigElementKey]): [Read-Write] The optional list of items to retrieve the pose for. If this is empty the pose will be retrieved for all items.

  • local_transforms (Array[Transform]): [Read-Write] The transforms of the retrieved bones in local space

  • mode (PoseAssetGetPoseForItemsMode): [Read-Write] The mode to use when retrieving the pose. NOTE: This is only used if the pose asset is additive.

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

  • poses (Array[RigUnit_PoseAsset_PoseInfo]): [Read-Write] The list of poses to retrieve

  • success (bool): [Read-Write] True if the transforms were retrieved successfully from the pose asset

property bones: None

[Read-Only] Only the bones returned from the pose

Type:

(Array[RigElementKey])

property curve_values: None

[Read-Only] The values of the retrieved curves

Type:

(Array[float])

property curves: None

[Read-Only] Only the curves returned from the pose

Type:

(Array[RigElementKey])

property items: None

[Read-Write] The optional list of items to retrieve the pose for. If this is empty the pose will be retrieved for all items.

Type:

(Array[RigElementKey])

property local_transforms: None

[Read-Only] The transforms of the retrieved bones in local space

Type:

(Array[Transform])

property mode: PoseAssetGetPoseForItemsMode

[Read-Write] The mode to use when retrieving the pose. NOTE: This is only used if the pose asset is additive.

Type:

(PoseAssetGetPoseForItemsMode)

property poses: None

[Read-Write] The list of poses to retrieve

Type:

(Array[RigUnit_PoseAsset_PoseInfo])

property success: bool

[Read-Only] True if the transforms were retrieved successfully from the pose asset

Type:

(bool)