27 #include "../../../common/WPathHelper.h"
34 m_anchor( 0.0, 0.0, 0.0 )
37 setCharacterSize( 21 );
39 setAxisAlignment( osgText::Text::SCREEN );
40 setAlignment( osgText::Text::LEFT_BOTTOM );
41 setBackdropType( osgText::Text::OUTLINE );
42 setColor( osg::Vec4( 0.9, 0.9, 0.9, 1 ) );
This class builds the base for graphical items that can be layouted using WGEItemLayouter instances...
virtual ~WGELabel()
Destructor.
static Fonts getAllFonts()
The paths to all fonts supported.
osg::Vec3 m_anchor
The anchor of the label in world space.
WGELabel()
Default constructor.
virtual void setAnchor(const osg::Vec3 &anchor)
Sets the anchor point in world coordinates of this labels.
virtual osg::Vec3 getAnchor() const
Gets the current anchor point of the label.