Navigation
API > API/Plugins > API/Plugins/ControlRigSpline
| Name | FControlRigSplineImpl |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineTypes.h |
| Include Path | #include "ControlRigSplineTypes.h" |
Syntax
USTRUCT ()
struct FControlRigSplineImpl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FControlRigSplineImpl() |
ControlRigSplineTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FControlRigSplineImpl() |
ControlRigSplineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AccumulatedLenth | TArray< float > | Accumulated length along the spline given by samples. | ControlRigSplineTypes.h | |
| bClosed | bool | Wether or not the curve is closed. | ControlRigSplineTypes.h | |
| Compression | float | The allowed length compression (1.f being do not allow compression`). If 0, no restriction wil be applied. | ControlRigSplineTypes.h | |
| ControlTransforms | TArray< FTransform > | The transforms of the control points. | ControlRigSplineTypes.h | |
| InitialLengths | TArray< float > | The initial lengths between samples. | ControlRigSplineTypes.h | |
| SamplesArray | TArray< FTransform > | Positions along the "real" curve (no samples in the first and last segments of a hermite spline) | ControlRigSplineTypes.h | |
| SamplesPerSegment | int32 | Samples per segment, where segment is the portion between two control points. | ControlRigSplineTypes.h | |
| Spline | ControlRigBaseSpline * | The actual spline. | ControlRigSplineTypes.h | |
| SplineMode | ESplineType | Spline type. | ControlRigSplineTypes.h | |
| Stretch | float | The allowed length stretch (1.f being do not allow stretch`). If 0, no restriction wil be applied. | ControlRigSplineTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FVector > & GetControlPoints() |
Returns a reference to the control points that were used to create this spline. | ControlRigSplineTypes.h | |
TArray< FVector > GetControlPointsWithoutDuplicates() |
Returns the control points that were used to create this spline, removing the duplicates in case of a closed spline. | ControlRigSplineTypes.h | |
TArray< FTransform > & GetControlTransforms() |
Returns a reference to the control transforms that were used to create this spline. | ControlRigSplineTypes.h | |
TArray< FTransform > GetControlTransformsWithoutDuplicates() |
Returns the control transforms that were used to create this spline, removing the duplicates in case of a closed spline. | ControlRigSplineTypes.h | |
uint8 GetDegree() |
Returns the degree of the curve. | ControlRigSplineTypes.h | |
uint16 NumSamples() |
Returns the total number of samples cached. | ControlRigSplineTypes.h |