Navigation
API > API/Plugins > API/Plugins/ControlRigSpline
Fits a given chain to a spline curve. Additionally provides rotational control matching the features of the Distribute Rotation node.
| Name | FRigUnit_FitChainToSplineCurveItemArray |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineUnits.h |
| Include Path | #include "ControlRigSplineUnits.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Fit Chain on Spline Curve", Category="Splines", Keywords="Fit,Resample,Spline"))
struct FRigUnit_FitChainToSplineCurveItemArray : public FRigUnit_HighlevelBaseMutable
Inheritance Hierarchy
- FRigVMStruct → FRigUnit → FRigUnitMutable → FRigUnit_HighlevelBaseMutable → FRigUnit_FitChainToSplineCurveItemArray
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigUnit_FitChainToSplineCurveItemArray() |
ControlRigSplineUnits.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Alignment | EControlRigCurveAlignment | Specifies how to align the chain on the curve | ControlRigSplineUnits.h |
|
| 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. | ControlRigSplineUnits.h |
|
| DebugSettings | FRigUnit_FitChainToCurve_DebugSettings | ControlRigSplineUnits.h |
|
|
| Items | TArray< FRigElementKey > | The items to align | ControlRigSplineUnits.h |
|
| Maximum | float | The maximum U value to use on the curve | ControlRigSplineUnits.h |
|
| Minimum | float | The minimum U value to use on the curve | ControlRigSplineUnits.h |
|
| PoleVectorPosition | FVector | The the position of the pole vector used for aligning the secondary axis. | ControlRigSplineUnits.h |
|
| PrimaryAxis | FVector | The major axis being aligned - along the bone | ControlRigSplineUnits.h |
|
| RotationEaseType | ERigVMAnimEasingType | The easing to use between to rotations. | ControlRigSplineUnits.h |
|
| Rotations | TArray< FRigUnit_FitChainToCurve_Rotation > | The list of rotations to be applied along the curve | ControlRigSplineUnits.h |
|
| SamplingPrecision | int32 | The number of samples to use on the curve. Clamped at 64. | ControlRigSplineUnits.h |
|
| SecondaryAxis | FVector | The minor axis being aligned - towards the pole vector. You can use (0.0, 0.0, 0.0) to disable it. | ControlRigSplineUnits.h |
|
| Spline | FControlRigSpline | The curve to align to | ControlRigSplineUnits.h |
|
| Weight | float | The weight of the solver - how much the rotation should be applied | ControlRigSplineUnits.h |
|
| WorkData | FRigUnit_FitChainToCurve_WorkData | ControlRigSplineUnits.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
ControlRigSplineUnits.h |