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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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