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

    Modifier and Type
    Method
    Description
    void
    visit(Spatial spatial)
    Called when a spatial is visited in the scene graph.
  • Method Details

    • visit

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