Difference between revisions of "Quad"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | A quadrilateral with texture coordinate information. | |
== Functions == | == Functions == | ||
{{#ask: [[Category:Functions]] [[parent::Quad]] | {{#ask: [[Category:Functions]] [[parent::Quad]] | ||
Line 10: | Line 10: | ||
* [[love.graphics.newQuad]] | * [[love.graphics.newQuad]] | ||
[[Category:Types]] | [[Category:Types]] | ||
− | {{#set:Description=}} | + | {{#set:Description=A quadrilateral with texture coordinate information.}} |
Revision as of 16:17, 14 February 2010
A quadrilateral with texture coordinate information.
Functions
Quad:flip | Flips this quad horizontally, vertically, or both. |
Quad:getLayer | Gets the layer specified by Quad:setLayer. |
Quad:getTextureDimensions | Gets reference texture dimensions initially specified in love.graphics.newQuad. |
Quad:getViewport | Gets the current viewport of this Quad. |
Quad:setLayer | Sets the layer to use in Array Textures. |
Quad:setViewport | Sets the texture coordinates according to a viewport. |