FSplineCurves

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h

Include

#include "Components/SplineComponent.h"

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.

Public variable

uint32

 

Version

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
)

Deprecated Variables

Name Description

Public variable

USplineMetadata...

 

Metadata_DEPRECATED

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss