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

USplineMetadata...

 

Metadata

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback