Click or drag to resize
Ab4d.SharpEngine logo

BezierCurve Constructor

Creates Bezier curve with the specified array of control points. Note that each curve segment requires three control points (one for the position on the curve and two to define tangents to that position).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public BezierCurve(
	Vector3[] controlPoints
)

Parameters

controlPoints  Vector3
Array of control points that define the curve. Note that each curve segment requires three control points (one for the position on the curve and two to define tangents to that position).
Remarks

Creates Bezier curve with the specified array of control points. Note that each curve segment requires three control points (one for the position on the curve and two to define tangents to that position).

To create a Bezier curve that goes through specified points and without specifying tangent positions, use the CreateBezierCurveThroughPoints(Vector3, Single). This method automatically calculates the tangent control positions based on the specified curveScale parameter. static methods.

See Also