Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/FSplineCurves
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 |
void UpdateSpline
&40;
bool bClosedLoop,
bool bStationaryEndpoints,
int32 ReparamStepsPerSegment,
bool bLoopPositionOverride,
float LoopPosition,
const FVector & Scale3D
&41;
Remarks
Update the spline's internal data according to the passed-in params
Parameters
| Name | 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 |