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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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