Navigation
API > API/Runtime > API/Runtime/Engine
A general purpose, reflected spline. The implementation can be configured at runtime.
| Name | FSpline |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Curves/Spline.h |
| Include Path | #include "Curves/Spline.h" |
Syntax
USTRUCT ()
struct FSpline
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Curves/Spline.h | |||
| Curves/Spline.h | |||
FSpline
(
UE::Spline::ESplineType InType |
Curves/Spline.h | ||
FSpline () |
FSpline Implementation | Curves/Spline.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentImplementation | UE::Spline::ESplineType | Curves/Spline.h | ||
| LegacySplineImpl | TUniquePtr< FLegacyTangentSpline > | Valid when CurrentImplementation is ESplineType::LegacyTangent. | Curves/Spline.h | |
| PreviousImplementation | UE::Spline::ESplineType | Curves/Spline.h | ||
| SplineImpl | TUniquePtr< UE::Geometry::Spline::TSplineInterface< FVector > > | Valid when CurrentImplementation is not ESplineType::Unimplemented and not ESplineType::LegacyTangent;. | Curves/Spline.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector Evaluate
(
float Param |
Curves/Spline.h | ||
FVector EvaluateDerivative
(
float Param |
Curves/Spline.h | ||
| Curves/Spline.h | |||
const UE::Spline::TSplineTypeMap< Impl >::Type * Get () |
A const version of Get |
Curves/Spline.h | |
UE::Spline::TSplineTypeMap< Impl >::Type * Get () |
Fetch the underlying concrete spline implementation. | Curves/Spline.h | |
UE::Spline::ESplineType GetCurrentImplementation() |
Curves/Spline.h | ||
int32 GetNumberOfSegments() |
Curves/Spline.h | ||
UE::Geometry::FInterval1f GetParameterSpace() |
Curves/Spline.h | ||
UE::Spline::ESplineType GetPreviousImplementation() |
Returns the implementation of this spline when when most recently loaded. | Curves/Spline.h | |
bool ImportTextItem
(
const TCHAR*& Buffer, |
Curves/Spline.h | ||
void Reset() |
Reset the spline to an empty spline. Preserves the current implementation. | Curves/Spline.h | |
bool Serialize
(
FArchive& Ar |
Curves/Spline.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UE::Spline::ESplineType GetDefaultImplementation() |
Returns the default implementation for new spline. | Curves/Spline.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FSpline& Other |
Curves/Spline.h | ||
| Curves/Spline.h | |||
FSpline & operator=
(
const FSplineCurves& Other |
Curves/Spline.h | ||
| Curves/Spline.h | |||
bool operator==
(
const FSpline& Other |
Curves/Spline.h |