FSplineCurves::UpdateSpline

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/SplineComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp

Syntax

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

Remarks

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

Parameters

Parameter

Description

bClosedLoop

Whether the spline is to be considered as a closed loop.

bStationaryEndpoints

Whether the endpoints of the spline are considered stationary when traversing the spline at non-constant velocity. Essentially this sets the endpoints' tangents to zero vectors.

ReparamStepsPerSegment

Number of steps per spline segment to place in the reparameterization table

bLoopPositionOverride

Whether to override the loop position with LoopPosition

LoopPosition

The loop position to use instead of the last key

Scale3D

The world scale to override

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