Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Execution
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnit_HierarchyBase
- FRigUnit_PoseGetDelta
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Execution/RigUnit_Hierarchy.h |
| Include | #include "Units/Execution/RigUnit_Hierarchy.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Get Pose Cache Delta", Keywords="Hierarchy,Pose,State", Varying, Category="Pose Cache"))
struct FRigUnit_PoseGetDelta : public FRigUnit_HierarchyBase
Remarks
Compares two pose caches and compares their values.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | CurveThreshold | The delta threshold for curve value difference. 0.0 disables curve differences. | |
| ERigElementType | ElementType | ||
| FRigElementKeyCollection | ItemsToCompare | An optional list of items to compare. | |
| FRigElementKeyCollection | ItemsWithDelta | ||
| FRigPose | PoseA | ||
| FRigPose | PoseB | ||
| bool | PosesAreEqual | ||
| float | PositionThreshold | The delta threshold for a translation / position difference. 0.0 disables position differences. | |
| float | RotationThreshold | The delta threshold for a rotation difference (in degrees). 0.0 disables rotation differences. | |
| float | ScaleThreshold | The delta threshold for a scale difference. 0.0 disables scale differences. | |
| ERigVMTransformSpace | Space | Defines in which space transform deltas should be computed. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AreCurvesEqual
(
float A, |
||
| bool | ArePoseElementsEqual
(
const FRigPoseElement& A, |
||
| bool | AreTransformsEqual
(
const FTransform& A, |
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |