![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SplineInterfaces.h>
Inheritance diagram for UE::Geometry::Spline::TSplineInterface< VALUETYPE >:Public Types | |
| typedef VALUETYPE | ValueType |
Static Public Member Functions | |
| static void | SetTypeName (const FString &InTypeName) |
Protected Member Functions | |
| float | HandleOutOfBounds (float Parameter) const |
| virtual ValueType | EvaluateImpl (float Parameter) const =0 |
Protected Attributes | |
| EOutOfBoundsHandlingMode | PreInfinityMode = EOutOfBoundsHandlingMode::Zero |
| EOutOfBoundsHandlingMode | PostInfinityMode = EOutOfBoundsHandlingMode::Zero |
Friends | |
| FArchive & | operator<< (FArchive &Ar, TSplineInterface &Spline) |
Typed interface for splines with a specific value type Provides evaluation and other type-specific functionality
| typedef VALUETYPE UE::Geometry::Spline::TSplineInterface< VALUETYPE >::ValueType |
|
inline |
Default constructor - ensures value type name is set
|
overridevirtualdefault |
|
inline |
Evaluates the spline at the given parameter value
| Parameter | The parameter value to evaluate at |
|
protectedpure virtual |
Implementation of evaluate with parameter handling
Implemented in UE::Geometry::Spline::TBSpline< VALUETYPE, DEGREE >, UE::Geometry::Spline::TBSpline< T, 1 >, UE::Geometry::Spline::TBSpline< VALUETYPE, 3 >, UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, and UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
pure virtual |
Finds the nearest parameter value to a point
| Point | The point to find nearest to |
| OutSquaredDistance | The squared distance to the nearest point |
Implemented in UE::Geometry::Spline::TBSpline< VALUETYPE, DEGREE >, UE::Geometry::Spline::TBSpline< VALUETYPE, 3 >, and UE::Geometry::Spline::TPolyBezierSpline< VALUETYPE >.
|
inlinevirtual |
Get the current Post-Infinity mode
Reimplemented in UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, and UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
inlinevirtual |
Get the current Pre-Infinity mode
Reimplemented in UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, and UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
inlineoverridevirtual |
Default implementation of type ID (derived classes should override)
Implements UE::Geometry::Spline::ISplineInterface.
Reimplemented in UE::Geometry::Spline::TMultiSpline< SPLINETYPE >, and UE::Geometry::Spline::TMultiSpline< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
inlineoverridevirtual |
|
inlineprotected |
Apply out-of-bounds handling to parameter
|
inlineoverridevirtual |
Serializes the spline
Reimplemented from UE::Geometry::Spline::ISplineInterface.
Reimplemented in FNewSpline, UE::Geometry::Spline::TBSpline< VALUETYPE, DEGREE >, UE::Geometry::Spline::TBSpline< T, 1 >, UE::Geometry::Spline::TBSpline< VALUETYPE, 3 >, UE::Geometry::Spline::TMultiSpline< SPLINETYPE >, UE::Geometry::Spline::TMultiSpline< UE::Geometry::Spline::FTangentBezierSpline3d >, UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >, and UE::Geometry::Spline::TTangentBezierSpline< VALUETYPE >.
|
inlinevirtual |
Set Post-Infinity handling mode when out of bounds
Reimplemented in UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, and UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
inlinevirtual |
Set Pre-Infinity handling mode when out of bounds
Reimplemented in UE::Geometry::Spline::TSplineWrapper< SPLINETYPE >, UE::Geometry::Spline::TSplineWrapper< TPolyBezierSpline< VALUETYPE > >, and UE::Geometry::Spline::TSplineWrapper< UE::Geometry::Spline::FTangentBezierSpline3d >.
|
inlinestatic |
Set and get the type name for the value type
|
friend |
|
protected |
|
protected |
How to handle parameters outside the mapped range