Difference between revisions of "Geometry"

m
m
Line 33: Line 33:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.draw]]
 +
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#set:Description=A polygonal shape with texture coordinate information.}}
 
{{#set:Description=A polygonal shape with texture coordinate information.}}

Revision as of 17:00, 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.

Supertypes

See Also

Other Languages

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