Tulip Plugins
Public Member Functions | Static Protected Attributes
Billboard Class Reference

A 2D glyph. More...

List of all members.

Public Member Functions

 Billboard (GlyphContext *gc=NULL)
virtual ~Billboard ()
virtual void draw (node n, float lod)
virtual Coord getAnchor (const Coord &vector) const

Static Protected Attributes

static GlRect * rect = 0

Detailed Description

A 2D glyph.

This glyph draws a textured square using the "viewTexture" node property value. If this property has no value, the square is then colored using the "viewColor" node property value. It is unsensitive to any axis rotation and so always remains displayed in the same position.