Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TPolyBezierSpline
Description
MANIPULATION METHODS Replaces all control points in the spline with the provided points. For a cubic Bezier spline, the number of points must be a multiple of 4 (or 4N-1 for open splines).
| Name | SetControlPoints |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/PolyBezierSpline.h |
| Include Path | #include "Splines/PolyBezierSpline.h" |
bool SetControlPoints
(
const TArray < ValueType > & Points,
EParameterizationPolicy ParameterizationPolicy
)
True if the points were successfully set
Parameters
| Name | Remarks |
|---|---|
| Points | Array of new control points |
| ParameterizationPolicy | How to distribute Knots for the new segments |