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
 void visit(Spatial spatial)
          Called when a spatial is visited in the scene graph.
 

Method Detail

visit

void visit(Spatial spatial)
Called when a spatial is visited in the scene graph.

Parameters:
spatial - The visited spatial