Bezier | |
| Name | Description | |
|---|---|---|
| CreateCurvePositions(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. | |
| CreateCurvePositions(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. |