Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Execution
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_HierarchyBaseMutable
- FRigUnit_PoseLoop
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="For Each Pose Cache Element", Keywords="Collection,Loop,Iterate", Icon="EditorStyle|GraphEditor.Macro.ForEach_16x", Category="Pose Cache"))
struct FRigUnit_PoseLoop : public FRigUnit_HierarchyBaseMutable
Remarks
Given a pose, execute iteratively across all items in the pose
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | BlockToRun | ||
| FControlRigExecuteContext | Completed | ||
| int32 | Count | ||
| float | CurveValue | ||
| FTransform | GlobalTransform | ||
| int32 | Index | ||
| FRigElementKey | Item | ||
| FTransform | LocalTransform | ||
| FRigPose | Pose | ||
| float | Ratio | Ranging from 0.0 (first item) and 1.0 (last item) This is useful to drive a consecutive node with a curve or an ease to distribute a value. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct | |
| const TArray< FName > & | |||
| int32 | GetNumSlices () |
||
| const bool | IsControlFlowBlockSliced
(
const FName& InBlockName |