Traversing the Scene Graph
 
 
 

A Scene object provides functions for accessing specific scene elements such as cameras, lights, and geometry. Because the Scene derives from TreeNode, it can be used to enumerate all of the objects in the scene including transformations.

To traverse all nodes in a scene you can work with the TreeNode member functions of the scene: