I have selected a sphere on the screen that is the drawable (in
the form of a shapedrawable) of an instace of the class Sphere (not the
osg's). How do I access the data that is inherent to every intance of that
class? A ShapeDrawable is not a Node, so I can't get a Parent... How do I do
it?  

ShapeDrawable is a Drawable. Drawable has a getParents() method, which will
give you the Geode (or Geodes) that point to your Drawable. Is that what
you're looking for?
   -Paul

 
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to