Difference between revisions of "Geometry"

m
(Added enum list)
Line 20: Line 20:
 
== Functions ==
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::Geometry||Object]]  
 
{{#ask: [[Category:Functions]] [[parent::Geometry||Object]]  
 +
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 +
== Enums ==
 +
{{#ask: [[Category:Enums]] [[parent::Geometry||Object]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| format=template
 
| format=template

Revision as of 18:58, 16 August 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. Added since 11.0
Object:type Gets the type of the object as a string.
Object:typeOf Checks whether an object is of a certain type.

Enums

Supertypes

See Also

Other Languages

--@todo: add Concept:Current to stuffs when done adding stuffs.