Difference between revisions of "Drawable"

(Concept currented.)
m
Line 1: Line 1:
 
Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.
 
Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.
 +
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
{{#ask: [[Category:Functions]] [[parent::Object]]
 
| headers=hide
 
| headers=hide

Revision as of 02:52, 18 October 2012

Superclass for all things that can be drawn on screen. This is an abstract type that can't be created directly.

Functions

Object:releaseImmediately destroys the object's Lua reference.
Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.

Supertypes

Subtypes

CanvasOff-screen render target.
FramebufferOff-screen render target.
ImageDrawable image type.
MeshA 2D polygon mesh used for drawing arbitrary textured shapes.
ParticleSystemUsed to create cool effects, like fire.
SpriteBatchStore image positions in a buffer, and draw it in one call.
TextDrawable text.
TextureSuperclass for drawable objects which represent a texture.
VideoA drawable video.

See Also


Other Languages