FSplineCurves

Syntax

struct FSplineCurves

Variables

Name Description

Public variable

FInterpCurveVec ...

 

Position

Spline built from position data.

Public variable

FInterpCurveFlo ...

 

ReparamTable

Input: distance along curve, output: parameter that puts you there.

Public variable

FInterpCurveQua ...

 

Rotation

Spline built from rotation data.

Public variable

FInterpCurveVec ...

 

Scale

Spline built from scale data.

Functions

Name Description

Public function Const

float

 

GetSegmentLength

(
    const int32 Index,
    const float Param,
    bool bClosedLoop,
    const FVector & Scale3D
)

Returns the length of the specified spline segment up to the parametric value given

Public function Const

float

 

GetSplineLength()

Returns total length along this spline

Public function

void

 

UpdateSpline

(
    bool bClosedLoop,
    bool bStationaryEndpoints,
    int32 ReparamStepsPerSegment,
    bool bLoopPositionOverride,
    float LoopPosition,
    const FVector & Scale3D
)

Update the spline's internal data according to the passed-in params

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FSplineCurves & Other
)

Public function Const

bool

 

operator==

(
    const FSplineCurves & Other
)

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SplineComponent.h