Difference between revisions of "Geometry"
(Created page with "{{newin|0.9.0|090|type=type}} A geometry is a convex polygonal shape with texture coordinate information. Geometries can be used to select part of a texture to draw. In thi...") |
m |
||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=type}} | {{newin|[[0.9.0]]|090|type=type}} | ||
− | + | A polygonal shape with texture coordinate information. | |
− | A | ||
Geometries 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. | Geometries 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. | ||
Line 35: | Line 34: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
[[Category:Types]] | [[Category:Types]] | ||
− | {{#set:Description=A | + | {{#set:Description=A polygonal shape with texture coordinate information.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Geometry}} | {{i18n|Geometry}} | ||
--@todo: add [[Concept:Current]] to stuffs when done adding stuffs. | --@todo: add [[Concept:Current]] to stuffs when done adding stuffs. |
Revision as of 04:13, 19 July 2013
Available since LÖVE 0.9.0 |
This type is not supported in earlier versions. |
A polygonal shape with texture coordinate information.
Geometries 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.
Geometries replace the old Quad type completely since they can do the same and more.
Constructors
None.
Functions
Object:release | Immediately destroys the object's Lua reference. | 11.0 | |
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
--@todo: add Concept:Current to stuffs when done adding stuffs.