Navigation
API > API/Plugins > API/Plugins/ControlRigSpline
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_HighlevelBaseMutable
- FRigUnit_FitChainToSplineCurve
References
| Module | ControlRigSpline |
| Header | /Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineUnits.h |
| Include | #include "ControlRigSplineUnits.h" |
Syntax
USTRUCT&40;
Meta&61;&40;DisplayName&61;"Fit Chain on Spline Curve", Category&61;"Hierarchy", Keywords&61;"Fit,Resample,Spline", Deprecated&61;"5.0"&41;&41;
struct FRigUnit_FitChainToSplineCurve : public FRigUnit_HighlevelBaseMutable
Remarks
Fits a given chain to a spline 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 | |
| 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. | |
| FControlRigSpline | Spline | The curve to align to | |
| 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 |