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_FitChainToCurve
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Units/Highlevel/Hierarchy/RigUnit_FitChainToCurve.h |
| Include | #include "Units/Highlevel/Hierarchy/RigUnit_FitChainToCurve.h" |
Syntax
USTRUCT&40;
Meta&61;&40;DisplayName&61;"Fit Chain on Curve", Category&61;"Hierarchy", Keywords&61;"Fit,Resample,Bezier", Deprecated&61;"4.25"&41;&41;
struct FRigUnit_FitChainToCurve : public FRigUnit_HighlevelBaseMutable
Remarks
Fits a given chain to a four point bezier curve. Additionally provides rotational control matching the features of the Distribute Rotation node.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EControlRigCurveAlignment | Alignment | Specifies how to align the chain on the curve | |
| FRigVMFourPointBezier | Bezier | The curve to align to | |
| bool | bPropagateToChildren | If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. | |
| FRigUnit_FitChainToCurve_DebugSettings | DebugSettings | ||
| FName | EndBone | The name of the last bone to align | |
| float | Maximum | The maximum U value to use on the curve | |
| float | Minimum | The minimum U value to use on the curve | |
| FVector | PoleVectorPosition | The the position of the pole vector used for aligning the secondary axis. | |
| FVector | PrimaryAxis | The major axis being aligned - along the bone | |
| ERigVMAnimEasingType | RotationEaseType | The easing to use between to rotations. | |
| TArray< FRigUnit_FitChainToCurve_Rotation > | Rotations | The list of rotations to be applied along the curve | |
| int32 | SamplingPrecision | The number of samples to use on the curve. Clamped at 64. | |
| FVector | SecondaryAxis | The minor axis being aligned - towards the pole vector. You can use (0.0, 0.0, 0.0) to disable it. | |
| FName | StartBone | The name of the first bone to align | |
| float | Weight | The weight of the solver - how much the rotation should be applied | |
| FRigUnit_FitChainToCurve_WorkData | WorkData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct | |
| FRigVMStructUpgradeInfo |