Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h |
Include |
#include "Components/SplineComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp |
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
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 |