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...")
(No difference)

Revision as of 17:25, 25 April 2013

Available since LÖVE 0.9.0
This type is not supported in earlier versions.


A geometry is a convex 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.