Method GetPoints
GetPoints(Vector2[], int)
Writes all six vertices into a caller-provided array.
public void GetPoints(Vector2[] points, int writeStartIndex = 0)
Parameters
pointsVector2[]The destination array.
writeStartIndexintThe index at which writing begins.
Remarks
The destination array must have room for six entries starting at writeStartIndex.