Navigation
API > API/Plugins > API/Plugins/ControlRigSpline
Inheritance Hierarchy
- FRigVMStruct
- FRigUnit
- FRigUnitMutable
- FRigUnit_HighlevelBaseMutable
- FRigUnit_SplineConstraint
References
| Module | ControlRigSpline |
| Header | /Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineUnits.h |
| Include | #include "ControlRigSplineUnits.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Spline Constraint", Category="Splines", Keywords="Fit,Resample,Spline"))
struct FRigUnit_SplineConstraint : 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. | |
| TArray< FRigElementKey > | 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 | PrimaryAxis | ||
| FVector | SecondaryAxis | ||
| FControlRigSpline | Spline | The curve to align to | |
| FRigUnit_SplineConstraint_WorkData | WorkData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FRigVMStruct
| Type | Name | Description | |
|---|---|---|---|
| void | Execute () |
Execute logic for this struct |