[osg-users] how to convert float to osgText::String

Jeremy Moles jeremy at emperorlinux.com
Thu Apr 28 10:28:53 PDT 2011


On Thu, 2011-04-28 at 19:27 +0200, Nan WANG wrote:
> Hi,
> 
> I have a simple question
> How to convert a float number to osgText::String in order to display with  osgText::Text::setText function?

Try ::createUTF8EncodedString(), or something like that.

> ... 
> 
> Thank you!
> 
> Cheers,
> Nan
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38855#38855
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 





More information about the osg-users mailing list