Difference between revisions of "Quad"

Line 5: Line 5:
 
| ?Description
 
| ?Description
 
}}
 
}}
 +
{{#ask: [[Category:Functions]] [[parent::Object]]
 +
| headers=hide
 +
| ?Description
 +
}}
 +
== Supertypes ==
 +
[[Object]]
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 01:58, 13 February 2011

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.
Object:releaseImmediately destroys the object's Lua reference.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Object

See Also

Other Languages