 |
BSplineCreateNURBSCurvePositions(Int32) Method |
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.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic Vector3[] CreateNURBSCurvePositions(
int positionsPerSegment = 30
)
Parameters
- positionsPerSegment Int32 (Optional)
- Number of additional points to make the curve smooth - larger value creates smoother curve. Default value is 30.
Return Value
Vector3A Vector3[] array that defines the NURBS curve.
See Also