 |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
31 #include <Overlay/OgreFontManager.h>
38 class MovableText :
public Ogre::MovableObject,
public Ogre::Renderable
77 MovableText(
const std::string &name,
const std::string &caption,
78 const std::string &fontName =
"highcontrast_black",
79 Ogre::Real charHeight = 1.0,
const Ogre::ColourValue &color = Ogre::ColourValue::Black);
88 void setColor(
const Ogre::ColourValue &color);
121 const Ogre::String &
getMovableType(
void)
const {
static Ogre::String movType =
"MovableText";
return movType;};
void setTextAlignment(const HorizontalAlignment &horizontalAlignment, const VerticalAlignment &verticalAlignment)
#define ROR_ASSERT(_EXPR)
void setColor(const Ogre::ColourValue &color)
Ogre::MaterialPtr mpBackgroundMaterial
Ogre::AxisAlignedBox GetAABB(void)
const Ogre::AxisAlignedBox & getBoundingBox(void) const
Ogre::uint getSpaceWidth() const
void showOnTop(bool show=true)
void setSpaceWidth(Ogre::Real width)
VerticalAlignment mVerticalAlignment
Ogre::Real getAdditionalHeight() const
MovableText(const std::string &name, const std::string &caption, const std::string &fontName="highcontrast_black", Ogre::Real charHeight=1.0, const Ogre::ColourValue &color=Ogre::ColourValue::Black)
const Ogre::Vector3 & getWorldPosition(void) const
const Ogre::LightList & getLights(void) const
Ogre::RenderWindow * mpWin
const std::string & getCaption() const
Ogre::uint getCharacterHeight() const
void setFontName(const std::string &fontName)
const std::string & getFontName() const
void getRenderOperation(Ogre::RenderOperation &op)
const Ogre::Quaternion & getWorldOrientation(void) const
Ogre::AxisAlignedBox mAABB
Ogre::MaterialPtr mpMaterial
void getWorldTransforms(Ogre::Matrix4 *xform) const
Central state/object manager and communications hub.
const Ogre::MaterialPtr & getMaterial(void) const
Ogre::Real getSquaredViewDepth(const Ogre::Camera *) const
Ogre::RenderOperation mRenderOp
const Ogre::ColourValue & getColor() const
virtual void visitRenderables(Ogre::Renderable::Visitor *, bool) override
void setCaption(const std::string &caption)
void setCharacterHeight(Ogre::Real height)
const Ogre::String & getMovableType(void) const
void _updateRenderQueue(Ogre::RenderQueue *queue)
HorizontalAlignment mHorizontalAlignment
void _notifyCurrentCamera(Ogre::Camera *cam)
void setAdditionalHeight(Ogre::Real height)
Ogre::Real getBoundingRadius(void) const
const Ogre::String & getName(void) const
Ogre::Real mAdditionalHeight
Ogre::Real mTimeUntilNextToggle
bool getShowOnTop() const