Public Member Functions | |
FadeText () | |
FadeText (const Text &text, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgText, FadeText) void setFadeSpeed(float fadeSpeed) | |
Set the speed that the alpha value changes as the text is occluded or becomes visible. | |
float | getFadeSpeed () const |
Get the speed that the alpha value changes. | |
virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
Draw the text. | |
Protected Types | |
typedef std::map < osg::View *, osg::Vec4 > | ViewBlendColourMap |
Protected Member Functions | |
virtual | ~FadeText () |
void | init () |
ViewBlendColourMap & | getViewBlendColourMap () |
const ViewBlendColourMap & | getViewBlendColourMap () const |
Protected Attributes | |
float | _fadeSpeed |
ViewBlendColourMap | _viewBlendColourMap |
Friends | |
struct | FadeTextUpdateCallback |
typedef std::map<osg::View*, osg::Vec4 > osgText::FadeText::ViewBlendColourMap [protected] |
osgText::FadeText::FadeText | ( | ) |
osgText::FadeText::FadeText | ( | const Text & | text, | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
virtual osgText::FadeText::~FadeText | ( | ) | [inline, protected, virtual] |
osgText::FadeText::META_Object | ( | osgText | , | |
FadeText | ||||
) | [inline] |
Set the speed that the alpha value changes as the text is occluded or becomes visible.
float osgText::FadeText::getFadeSpeed | ( | ) | const [inline] |
Get the speed that the alpha value changes.
virtual void osgText::FadeText::drawImplementation | ( | osg::RenderInfo & | renderInfo | ) | const [virtual] |
void osgText::FadeText::init | ( | ) | [protected] |
ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap | ( | ) | [inline, protected] |
const ViewBlendColourMap& osgText::FadeText::getViewBlendColourMap | ( | ) | const [inline, protected] |
friend struct FadeTextUpdateCallback [friend] |
float osgText::FadeText::_fadeSpeed [protected] |
ViewBlendColourMap osgText::FadeText::_viewBlendColourMap [mutable, protected] |