Click or drag to resize
Ab4d.SharpEngine logo

BezierCurveCreateCurvePositions Method

Overload List
 NameDescription
Public methodCreateCurvePositions(Int32) Returns a Vector3[] array that defines the Bezier curve. 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 methodCreateCurvePositions(Single, Single, Int32) Returns a Vector3[] array that defines the Bezier curve. 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 less positions.
Top
See Also