Click or drag to resize
Ab4d.SharpEngine logo

BSplineCreateBSplinePositions Method

Overload List
 NameDescription
Public methodStatic memberCreateBSplinePositions(Vector3, Int32) Returns a Vector3[] array that defines the B-spline, based on the specified control points and number of positions per segment. The curve positions are created using a fixed number of positions per segment. This is very fast to compute, but can generate too many points along nearly straight sections and too few where the curve bends sharply.
Public methodStatic memberCreateBSplinePositions(Vector3, Single, Single, Int32) Returns a Vector3[] array that defines the B-spline, based on the specified control points and adaptive algorithm parameters. The curve positions are created using an adaptive algorithm that adds more points where the curvature is higher. This takes longer to compute than when using fixed positionsPerSegment, but generates smoother curves with fewer positions.
Top
See Also