diff --git a/include/osgText/TextBase b/include/osgText/TextBase index dae0da9c1..da8a61d04 100644 --- a/include/osgText/TextBase +++ b/include/osgText/TextBase @@ -276,6 +276,10 @@ public: void getCoord(unsigned int i, osg::Vec2& c) const { c.set((*_coords)[i].x(), (*_coords)[i].y()); } void getCoord(unsigned int i, osg::Vec3& c) const { c = (*_coords)[i]; } + + /** Get the internal matrix used to provide positioning of text.*/ + const osg::Matrix& getMatrix() const { return _matrix; } + protected: virtual ~TextBase();