FRigUnit_FitChainToSplineCurve

Fits a given chain to a spline curve.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ControlRigSpline

Header

/Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineUnits.h

Include

#include "ControlRigSplineUnits.h"

Syntax

USTRUCT(
        Meta=(DisplayName="Fit Chain on Spline Curve", Category="Hierarchy", Keywords="Fit,Resample,Spline", Deprecated="5.0"))
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

Name Description

Public variable UProperty Meta

EControlRigCurv...

 

Alignment

Specifies how to align the chain on the curve

Public variable UProperty Meta

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.

Public variable UProperty Meta

FRigUnit_FitCha...

 

DebugSettings

Public variable UProperty Meta

FRigElementKeyC...

 

Items

The items to align

Public variable UProperty Meta

float

 

Maximum

The maximum U value to use on the curve

Public variable UProperty Meta

float

 

Minimum

The minimum U value to use on the curve

Public variable UProperty Meta

FVector

 

PoleVectorPosition

The the position of the pole vector used for aligning the secondary axis.

Public variable UProperty Meta

FVector

 

PrimaryAxis

The major axis being aligned - along the bone

Public variable UProperty Meta

EControlRigAnim...

 

RotationEaseType

The easing to use between to rotations.

Public variable UProperty Meta

TArray< FRigUni...

 

Rotations

The list of rotations to be applied along the curve

Public variable UProperty Meta

int32

 

SamplingPrecision

The number of samples to use on the curve. Clamped at 64.

Public variable UProperty Meta

FVector

 

SecondaryAxis

The minor axis being aligned - towards the pole vector. You can use (0.0, 0.0, 0.0) to disable it.

Public variable UProperty Meta

FControlRigSpli...

 

Spline

The curve to align to

Public variable UProperty Meta

float

 

Weight

The weight of the solver - how much the rotation should be applied

Public variable UProperty Transient

FRigUnit_FitCha...

 

WorkData

Constructors

Overridden from FRigUnit

Name Description

Public function Virtual

void

 

Execute

(
    const FRigUnitContext& Context
)

Execute logic for this rig unit