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