Package com.jme3.scene
Interface SceneGraphVisitor
- All Known Implementing Classes:
SceneGraphVisitorAdapter
public interface SceneGraphVisitor
SceneGraphVisitorAdapter
is used to traverse the scene
graph tree.
Use by calling Spatial.depthFirstTraversal(com.jme3.scene.SceneGraphVisitor)
or Spatial.breadthFirstTraversal(com.jme3.scene.SceneGraphVisitor)
.-
Method Summary
-
Method Details
-
visit
Called when a spatial is visited in the scene graph.- Parameters:
spatial
- The visited spatial
-