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