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