Difference between revisions of "Quad"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
A quadrilateral with texture coordinate information.
 
A quadrilateral with texture coordinate information.
 
== Functions ==
 
== Functions ==
Line 11: Line 10:
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#set:Description=A quadrilateral with texture coordinate information.}}
 
{{#set:Description=A quadrilateral with texture coordinate information.}}
 +
== Other Languages ==
 +
{{i18n|Quad}}

Revision as of 19:25, 18 November 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

Other Languages