Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolyBezierSpline
Description
Inserts a point at a specific segment with local parameter. This splits the segment at the specified location and places the new point at the provided position, which may change the spline shape.
| Name | InsertPointAtSegmentParam |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/PolyBezierSpline.h |
| Include Path | #include "Splines/PolyBezierSpline.h" |
int32 InsertPointAtSegmentParam
(
int32 SegmentIndex,
float LocalT,
const ValueType & Position,
EParameterizationPolicy ParameterizationPolicy
)
The index of the newly created point
Parameters
| Name | Remarks |
|---|---|
| SegmentIndex | Index of the segment to split |
| LocalT | Local parameter [0,1] within the segment |
| Position | Position for the new point |
| ParameterizationPolicy | How to distribute Knots |