Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public 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

BezierCurve
instance of BezierCurve
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.BezierCurve.CreateBezierCurveThroughPoints(System.Numerics.Vector3[],System.Single)"]

See Also