Package com.jme3.scene
Class SceneGraphVisitorAdapter
java.lang.Object
com.jme3.scene.SceneGraphVisitorAdapter
- All Implemented Interfaces:
- SceneGraphVisitor
SceneGraphVisitorAdapter is used to traverse the scene
 graph tree. The adapter version of the interface simply separates 
 between the geometries and the nodes by
 supplying visit methods that take them.
 Use by calling Spatial.depthFirstTraversal(com.jme3.scene.SceneGraphVisitor)
 or Spatial.breadthFirstTraversal(com.jme3.scene.SceneGraphVisitor).- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SceneGraphVisitorAdapterpublic SceneGraphVisitorAdapter()
 
- 
- 
Method Details- 
visitCalled when aGeometryis visited.- Parameters:
- geom- The visited geometry
 
- 
visitCalled when aNodeis visited.- Parameters:
- node- The visited node
 
- 
visitDescription copied from interface:SceneGraphVisitorCalled when a spatial is visited in the scene graph.- Specified by:
- visitin interface- SceneGraphVisitor
- Parameters:
- spatial- The visited spatial
 
 
-