[osg-users] How to traverse the adjacent drawables

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Sat Apr 18 09:38:51 PDT 2020


One the question "How to access adjacent nodes/drawables?"

All nodes/drawables have a getParents() methods that list all the Node's
above it in the scene graph, you can traverse your parents list of children
to get all the siblings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200418/1b9daf5d/attachment.html>


More information about the osg-users mailing list