 |
BezierCurve Methods |
The BezierCurve type exposes the following members.
Methods| | Name | Description |
|---|
  | CreateBezierCurvePositions(Vector3, Int32) |
Returns an array of 3D points that define the Bezier curve with the specified control points
(i.e., positions of points on the curve and tangent control points).
|
  | CreateBezierCurvePositions(Vector3, Single, Single, Int32) |
Returns an array of 3D points that define the Bezier curve with the specified control points
(i.e., positions of points on the curve and tangent control points).
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.
|
  | CreateBezierCurvePositionsThroughPoints(Vector3, Int32, Single) |
Returns an array of 3D points that define the Bezier curve that passes through the specified positions.
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.
|
  | CreateBezierCurvePositionsThroughPoints(Vector3, Single, Single, Int32) |
Returns an array of 3D points that define the Bezier curve that passes through the specified positions.
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.
|
  | CreateBezierCurvePositionsThroughPoints(Vector3, Single, Single, Single, Int32) |
Returns an array of 3D points that define the Bezier curve that passes through the specified positions.
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.
|
  | CreateBezierCurveThroughPoints |
Returns an instance of BezierCurve that passes through all specified positions.
The method automatically computes all required control points (tangent positions) based on the specified curve scale.
|
 | 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.
|
 | GetPositionOnCurve |
Returns a 3D point that lies on the Bezier curve. 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.
|
Top
See Also