getVertexArray

Returns the array of vertices.

To avoid allocations, this returns internal state. The caller must not modify it.