 |
BezierCurveCreateBezierCurveThroughPoints Method |
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.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static BezierCurve CreateBezierCurveThroughPoints(
Vector3[] curvePositions,
float curveScale = 0,25f
)
Parameters
- curvePositions Vector3
- Array of positions on the curve
- curveScale Single (Optional)
- Controls the scale of the curve. The larger the curveScale, the smaller the curvature at that Bezier points. Default value is 0.25
Return Value
BezierCurveinstance of BezierCurve
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.BezierCurve.CreateBezierCurveThroughPoints(System.Numerics.Vector3[],System.Single)"]
See Also