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