Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTangentSpline
Description
Sets the parameter of a spline point. Currently, this function disallows knot vector reordering, meaning the provided parameter must not be greater than the parameter at Index + 1 or less than the parameter at Index - 1.
| Name | SetParameterAtIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Curves/Splines/TangentSpline.h |
| Include Path | #include "Curves/Splines/TangentSpline.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Curves/Splines/TangentSpline.cpp |
bool SetParameterAtIndex
(
int32 Index,
float Parameter
)
true if the operation was successful, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| Index | The index of the point to update. |
| Parameter | The new parameter. |