VertexArray.getBounds

Compute the bounding rectangle of the vertex array.

This function returns the axis-aligned rectangle that contains all the vertices of the array.

class VertexArray
const
getBounds
()

Return Value

Type: FloatRect

Bounding rectangle of the vertex array.

Meta