Difference between revisions of "Quad"
Line 1: | Line 1: | ||
A quadrilateral with texture coordinate information. | A quadrilateral with texture coordinate information. | ||
+ | |||
+ | Quads can be used to select part of a texture to draw. In this way, one large [http://en.wikipedia.org/wiki/Texture_atlas Texture Atlas] can be loaded, and then split up into sub-images. | ||
+ | |||
== Constructors == | == Constructors == | ||
{{#ask: [[Category:Functions]] [[Constructs::Quad]] [[Since::<071]] | {{#ask: [[Category:Functions]] [[Constructs::Quad]] [[Since::<071]] |
Revision as of 23:11, 9 August 2011
A quadrilateral with texture coordinate information.
Quads can be used to select part of a texture to draw. In this way, one large Texture Atlas can be loaded, and then split up into sub-images.
Constructors
love.graphics.newQuad | Creates a new Quad. |
Functions
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Quad:flip | Flips this quad horizontally, vertically, or both. |
Quad:getViewport | Gets the current viewport of this Quad. |
Quad:setViewport | Sets the texture coordinates according to a viewport. |
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