Navigation
API > API/Plugins > API/Plugins/ControlRig
Distributes rotations provided along a chain. 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 bone!
| Name | FRigUnit_DistributeRotation |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
| Include Path | #include "Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Distribute Rotation", Category="Hierarchy", Keywords="TwistBones", Deprecated="4.25"))
struct FRigUnit_DistributeRotation : public FRigUnit_HighlevelBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_HighlevelBaseMutable → FRigUnit_DistributeRotation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_DistributeRotation() |
Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bPropagateToChildren | bool | If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| EndBone | FName | The name of the last bone to align | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| RotationEaseType | ERigVMAnimEasingType | The easing to use between to rotations. | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| Rotations | TArray< FRigUnit_DistributeRotation_Rotation > | The list of rotations to be applied | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| StartBone | FName | The name of the first bone to align | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| Weight | float | The weight of the solver - how much the rotation should be applied | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
| WorkData | FRigUnit_DistributeRotation_WorkData | Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h | ||
virtual FRigVMStructUpgradeInfo GetUpgradeInfo() |
Units/Highlevel/Hierarchy/RigUnit_DistributeRotation.h |