[osg-users] pfObject::getNamedUserDataSlot

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Thu Sep 10 00:02:30 PDT 2015


Hi Tony,

you have two options:

- osg::Object:get/setUserData
- osg::Object:setUserValue (for this one you have to #include
<osg/ValueObject>

Nick

On Thu, Sep 10, 2015 at 7:56 AM, Tony Vasile <minghia at gmail.com> wrote:

> Is there an equivalent function to the Performer
> pfObject::getNamedUserDataSlot? Our code uses it a lot to store object
> data. I'm guessing we could just store the data in a map and uses the slot
> id returned as a key.
>
> ------------------------
> Tony V
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=65084#65084
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150910/8f35d89d/attachment-0003.htm>


More information about the osg-users mailing list