Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Units > API/Plugins/ControlRig/Units/Highlevel > API/Plugins/ControlRig/Units/Highlevel/Hierarchy
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_HighlevelBaseMutable
- FRigUnit_DistributeRotationForItemArray
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
| Include | #include "Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h" |
Syntax
USTRUCT (Meta=(DisplayName="Distribute Rotation", Category="Hierarchy", Keywords="TwistBones"))
struct FRigUnit_DistributeRotationForItemArray : public FRigUnit_HighlevelBaseMutable
Remarks
Distributes rotations provided across a array of items. Each rotation is expressed by a quaternion and a ratio, where the ratio is between 0.0 and 1.0 Note: This node adds rotation in local space of each item!
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRigElementKey > | Items | The items to use to distribute the rotation | |
| ERigVMAnimEasingType | RotationEaseType | The easing to use between to rotations. | |
| TArray< FRigUnit_DistributeRotation_Rotation > | Rotations | The list of rotations to be applied | |
| float | Weight | The weight of the solver - how much the rotation should be applied | |
| FRigUnit_DistributeRotation_WorkData | WorkData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |