Difference between revisions of "Quad"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:17, 14 February 2010

A quadrilateral with texture coordinate information.

Functions

Quad:flipFlips this quad horizontally, vertically, or both.
Quad:getLayerGets the layer specified by Quad:setLayer.
Quad:getTextureDimensionsGets reference texture dimensions initially specified in love.graphics.newQuad.
Quad:getViewportGets the current viewport of this Quad.
Quad:setLayerSets the layer to use in Array Textures.
Quad:setViewportSets the texture coordinates according to a viewport.

See Also