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

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