Lutro - Documentation

Quad (type)

A quadrilateral with texture coordinate information.

Quad:setViewport

Sets the origin and dimensions of the Quad.

Quad:setViewport(x, y, wdith, height)

Quad:getViewport

Returns the origin and dimensions of the Quad.

x, y, wdith, height = Quad:getViewport()