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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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