Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolyBezierSpline
Description
Sets the parameter value for a specific anchor control point or the virtual closing point. This function will reorder the knot vector to ensure that it is always monotonically increasing. If the knot vector is reordered, anchor points are reordered such that they are always associated with the same knot. Setting the parameter of the virtual closing point will not cause any reordering. If reordering would occur, the function fails.
Virtual Inheritance
- TBSpline::SetParameter → TPolyBezierSpline::SetParameter
| Name | SetParameter |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/PolyBezierSpline.h |
| Include Path | #include "Splines/PolyBezierSpline.h" |
virtual int32 SetParameter
(
int32 Index,
float NewParameter
)
The index of the point that was actually updated, or INDEX_NONE if failed
Parameters
| Name | Remarks |
|---|---|
| Index | Index of the anchor point |
| NewParameter | New parameter value to set |