Click or drag to resize
Ab4d.SharpEngine logo

BSplineGetPositionOnBSpline Method

Returns a 3D point that lies on the B-spline based on the control points (provided via the constructor) and t. 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 GetPositionOnBSpline(
	float t
)

Parameters

t  Single
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.

Return Value

Vector3
3D point that lies on the B-spline.
See Also