Difference between revisions of "Drawable"

(Concept currented.)
Line 7: Line 7:
 
* [[parent::Object]]
 
* [[parent::Object]]
 
== Subtypes ==
 
== Subtypes ==
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Since::<072]]
+
{{#ask: [[Category:Types]] [[parent::Drawable]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 20:34, 20 June 2012

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

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