Click or drag to resize
Ab4d.SharpEngine logo

BezierCurveGetPositionOnCurve Method

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.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public Vector3 GetPositionOnCurve(
	float t
)

Parameters

t  Single
The t argument can have any value between 0 and 1, with 0 corresponding to the first control point and 1 corresponding to the last control point.

Return Value

Vector3
A Vector3 describing a 3D point that lies on the Bezier curve.
See Also