gz/rendering/ogre/OgreText.hh
Go to the documentation of this file.
Base implementation of a text geometry.
Definition: gz/rendering/base/BaseText.hh:35
Definition: gz/rendering/ogre/OgreScene.hh:41
Ogre implementation of text geometry.
Definition: gz/rendering/ogre/OgreText.hh:44
virtual Ogre::MovableObject * OgreObject() const override
virtual void SetSpaceWidth(const float _width) override
Set the width of spaces between words.
virtual void SetMaterial(MaterialPtr _material, bool _unique) override
Set the materials of this Geometry.
virtual void SetColor(const gz::math::Color &_color) override
Set the text color.
virtual gz::math::AxisAlignedBox AABB() const override
Get the axis aligned bounding box of the text.
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual void SetTextString(const std::string &_text) override
Set the text to display.
virtual void SetBaseline(const float _baseline) override
Set the baseline height of the text.
virtual void SetFontName(const std::string &_font) override
Set the font.
virtual MaterialPtr Material() const override
Get the material of this geometry.
virtual void SetShowOnTop(const bool _onTop) override
True = text always is displayed ontop.
virtual void SetTextAlignment(const TextHorizontalAlign &_horizAlign, const TextVerticalAlign &_vertAlign) override
Set the alignment of the text.
virtual void SetMaterialImpl(OgreMaterialPtr _material)
Set material to text geometry.
virtual void Init() override
virtual void SetCharHeight(const float _height) override
Set the height of the character in meters.
TextVerticalAlign
Text vertical alignment.
Definition: gz/rendering/Text.hh:50
TextHorizontalAlign
Text Horizontal alignment.
Definition: gz/rendering/Text.hh:38