 |
PolygonVertexCreateFromPoints Method |
Creates a double linked list of PolygonVertex from the specified points and returns the first PolygonVertex.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic 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
PolygonVertexfirst PolygonVertex in double linked list
See Also