 |
BezierCurveCreateBezierCurvePositions Method |
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).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static Vector3[] CreateBezierCurvePositions(
Vector3[] controlPoints,
int positionsPerSegment = 30
)
Parameters
- controlPoints Vector3
- Array of control points (positions of points on the curve and tangent control points).
- positionsPerSegment Int32 (Optional)
- Number of additional points per curve segment to make the curve smooth - larger value results in a smoother curve. Default value is 30.
Return Value
Vector3A Vector3[] array that defines the Bezier curve.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.BezierCurve.CreateBezierCurvePositions(System.Numerics.Vector3[],System.Int32)"]
See Also