Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolyBezierSpline
Description
Inserts a point at the specified parameter along the spline. This splits the segment at the parameter value and places the new point at the specified position, which may change the spline shape.
| Name | InsertPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/PolyBezierSpline.h |
| Include Path | #include "Splines/PolyBezierSpline.h" |
int32 InsertPoint
(
float Parameter,
const ValueType & Position,
EParameterizationPolicy ParameterizationPolicy
)
The index of the newly created point
Parameters
| Name | Remarks |
|---|---|
| Storage | Storage to add the point to |
| Parameter | Parameter value where to split the spline |
| Position | Position for the new point (doesn't need to be on the original curve) |
| ParameterizationPolicy | How to distribute Knots |