Click or drag to resize
Ab4d.SharpEngine logo

BezierCurve Methods

The BezierCurve type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateBezierCurvePositions Returns an array of 3D points that define the Bezier curve with the specified control points (i.e., positions of points on the curve and tangent control points).
Public methodStatic memberCreateBezierCurvePositionsThroughPoints Returns an array of 3D points that define the Bezier curve that passes through the specified positions.
Public methodStatic memberCreateBezierCurveThroughPoints Returns an instance of BezierCurve that passes through all specified positions. The method automatically computes all required control points (tangent positions) based on the specified curve scale.
Public methodCreateCurvePositions Returns a Vector3[] array that defines the Bezier curve.
Public methodGetPositionOnCurve Returns a 3D point that lies on the Bezier curve. The t argument can have any value between 0 to 1, with 0 corresponding to the first control point and 1 corresponding to the last control point.
Top
See Also