BSpline Methods |
The BSpline type exposes the following members.
Name | Description | |
---|---|---|
CreateBSplinePositions | Returns a Vector3[] array that defines the B-spline, based on the specified control points and number of positions per segment. | |
CreateCurvePositions | Returns a Vector3[] array that defines the B-spline based on the control points (provided via the constructor) and the specified number of positions per segment. | |
CreateNURBSCurvePositions(Int32) | Returns a Vector3[] array that defines the NURBS curve based on the control points and weights (provided via the constructor) and the specified number of positions per segment. | |
CreateNURBSCurvePositions(Vector3, Single, Int32) | Returns a Vector3[] array that defines the NURBS curve (Non-uniform rational B-spline) based on the specified control points, weights, and number of positions per segment. | |
GetPositionOnBSpline | 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. | |
GetPositionOnNURBSCurve | Returns a 3D point that lies on the NURBS curve based on the control points and weights (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. |