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_FitChainToCurvePerItem
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 (
Meta=(DisplayName="Fit Chain on Curve", Category="Hierarchy", Keywords="Fit,Resample,Bezier", Deprecated="5.0"))
struct FRigUnit_FitChainToCurvePerItem : 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 | ||
| FRigElementKeyCollection | Items | The items 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. | |
| 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 |