Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h |
| Include | #include "Components/SplineComponent.h" |
Syntax
struct FSplineCurves
Variables
| Type | Name | Description | |
|---|---|---|---|
| FInterpCurveVector | Position | Spline built from position data. | |
| FInterpCurveFloat | ReparamTable | Input: distance along curve, output: parameter that puts you there. | |
| FInterpCurveQuat | Rotation | Spline built from rotation data. | |
| FInterpCurveVector | Scale | Spline built from scale data. | |
| uint32 | Version |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetSegmentLength
(
const int32 Index, |
Returns the length of the specified spline segment up to the parametric value given | |
| float | Returns total length along this spline | ||
| void | UpdateSpline
(
bool bClosedLoop, |
Update the spline's internal data according to the passed-in params |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FSplineCurves& Other |
||
| bool | operator==
(
const FSplineCurves& Other |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< USplineMetadata > | Metadata_DEPRECATED |