Click or drag to resize
Ab4d.SharpEngine logo

PolygonVertexCreateFromPoints Method

Creates a double linked list of PolygonVertex from the specified points and returns the first PolygonVertex.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static PolygonVertex CreateFromPoints(
	Vector2[] points,
	int count = -1
)

Parameters

points  Vector2
list of Vector2 positions
count  Int32  (Optional)
optional count that is used when it is bigger than 0 (-1 by default), otherwise the length of the points array is used

Return Value

PolygonVertex
first PolygonVertex in double linked list
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.PolygonVertex.CreateFromPoints(System.Numerics.Vector2[],System.Int32)"]

See Also