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: RigVMTransformSpace = 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] The delta threshold for curve value difference. 0.0 disables curve differences.

  • element_type (RigElementType): [Read-Write]

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

  • items_with_delta (RigElementKeyCollection): [Read-Write]

  • pose_a (RigPose): [Read-Write]

  • pose_b (RigPose): [Read-Write]

  • poses_are_equal (bool): [Read-Write]

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

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

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

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

property curve_threshold: float

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

Type:

(float)

property element_type: RigElementType

[Read-Write]

Type:

(RigElementType)

property items_to_compare: RigElementKeyCollection

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

Type:

(RigElementKeyCollection)

property items_with_delta: RigElementKeyCollection

[Read-Only]

Type:

(RigElementKeyCollection)

property pose_a: RigPose

[Read-Write]

Type:

(RigPose)

property pose_b: RigPose

[Read-Write]

Type:

(RigPose)

property poses_are_equal: bool

[Read-Only]

Type:

(bool)

property position_threshold: float

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

Type:

(float)

property rotation_threshold: float

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

Type:

(float)

property scale_threshold: float

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

Type:

(float)

property space: RigVMTransformSpace

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

Type:

(RigVMTransformSpace)