Added TextBase::getMatrix() accessor
This commit is contained in:
parent
25e6fbb2ff
commit
58c52a4cd4
@ -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::Vec2& c) const { c.set((*_coords)[i].x(), (*_coords)[i].y()); }
|
||||||
void getCoord(unsigned int i, osg::Vec3& c) const { c = (*_coords)[i]; }
|
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:
|
protected:
|
||||||
|
|
||||||
virtual ~TextBase();
|
virtual ~TextBase();
|
||||||
|
Loading…
Reference in New Issue
Block a user