$search
This class overrides MovableText class in order to show non-movable static text in the scene. More...
#include <static_text.h>
Public Member Functions | |
StaticText (const Ogre::String &caption, const Ogre::String &fontName="Arial", Ogre::Real charHeight=1.0, const Ogre::ColourValue &color=Ogre::ColourValue::White) | |
Constructor. | |
Protected Member Functions | |
void | getWorldTransforms (Ogre::Matrix4 *xform) const |
Overriden method which causes static behaviour. |
This class overrides MovableText class in order to show non-movable static text in the scene.
Definition at line 42 of file static_text.h.
ogre_tools::StaticText::StaticText | ( | const Ogre::String & | caption, | |
const Ogre::String & | fontName = "Arial" , |
|||
Ogre::Real | charHeight = 1.0 , |
|||
const Ogre::ColourValue & | color = Ogre::ColourValue::White | |||
) | [inline] |
Constructor.
caption | text | |
fontName | name of the font family | |
charHeight | height of the characters | |
color | color of the text |
Definition at line 52 of file static_text.h.
void ogre_tools::StaticText::getWorldTransforms | ( | Ogre::Matrix4 * | xform | ) | const [inline, protected] |
Overriden method which causes static behaviour.
Reimplemented from ogre_tools::MovableText.
Definition at line 62 of file static_text.h.