Click or drag to resize
Ab4d.SharpEngine logo

BezierCurveCreateCurvePositions Method

Returns a Vector3[] array that defines the Bezier curve.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public Vector3[] CreateCurvePositions(
	int positionsPerSegment = 30
)

Parameters

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

Vector3
A Vector3[] array that defines the Bezier curve.
See Also