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: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. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info