unreal.RigUnit_PoseGetDelta

class unreal.RigUnit_PoseGetDelta(pose_a: RigPose = [], pose_b: RigPose = [], position_threshold: float = 0.0, rotation_threshold: float = 0.0, scale_threshold: float = 0.0, curve_threshold: float = 0.0, element_type: RigElementType = Ellipsis, space: BoneGetterSetterMode = Ellipsis, items_to_compare: RigElementKeyCollection = Ellipsis, poses_are_equal: bool = False, items_with_delta: RigElementKeyCollection = Ellipsis)

Bases: RigUnit_HierarchyBase

Compares two pose caches and compares their values.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Hierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • curve_threshold (float): [Read-Write] Curve Threshold: The delta threshold for curve value difference. 0.0 disables curve differences.

  • element_type (RigElementType): [Read-Write] Element Type

  • items_to_compare (RigElementKeyCollection): [Read-Write] Items to Compare: An optional list of items to compare

  • items_with_delta (RigElementKeyCollection): [Read-Write] Items with Delta

  • pose_a (RigPose): [Read-Write] Pose A

  • pose_b (RigPose): [Read-Write] Pose B

  • poses_are_equal (bool): [Read-Write] Poses Are Equal

  • position_threshold (float): [Read-Write] Position Threshold: The delta threshold for a translation / position difference. 0.0 disables position differences.

  • rotation_threshold (float): [Read-Write] Rotation Threshold: The delta threshold for a rotation difference (in degrees). 0.0 disables rotation differences.

  • scale_threshold (float): [Read-Write] Scale Threshold: The delta threshold for a scale difference. 0.0 disables scale differences.

  • space (BoneGetterSetterMode): [Read-Write] Space: Defines in which space transform deltas should be computed

property curve_threshold: float

[Read-Write] Curve Threshold: The delta threshold for curve value difference. 0.0 disables curve differences.

Type:

(float)

property element_type: RigElementType

[Read-Write] Element Type

Type:

(RigElementType)

property items_to_compare: RigElementKeyCollection

[Read-Write] Items to Compare: An optional list of items to compare

Type:

(RigElementKeyCollection)

property items_with_delta: RigElementKeyCollection

[Read-Only] Items with Delta

Type:

(RigElementKeyCollection)

property pose_a: RigPose

[Read-Write] Pose A

Type:

(RigPose)

property pose_b: RigPose

[Read-Write] Pose B

Type:

(RigPose)

property poses_are_equal: bool

[Read-Only] Poses Are Equal

Type:

(bool)

property position_threshold: float

[Read-Write] Position Threshold: The delta threshold for a translation / position difference. 0.0 disables position differences.

Type:

(float)

property rotation_threshold: float

[Read-Write] Rotation Threshold: The delta threshold for a rotation difference (in degrees). 0.0 disables rotation differences.

Type:

(float)

property scale_threshold: float

[Read-Write] Scale Threshold: The delta threshold for a scale difference. 0.0 disables scale differences.

Type:

(float)

property space: BoneGetterSetterMode

[Read-Write] Space: Defines in which space transform deltas should be computed

Type:

(BoneGetterSetterMode)