com.jme3.scene
クラス SceneGraphVisitorAdapter

java.lang.Object
  上位を拡張 com.jme3.scene.SceneGraphVisitorAdapter
すべての実装されたインタフェース:
SceneGraphVisitor

public class SceneGraphVisitorAdapter
extends java.lang.Object
implements 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).


コンストラクタの概要
SceneGraphVisitorAdapter()
           
 
メソッドの概要
 void visit(Geometry geom)
          Called when a Geometry is visited.
 void visit(Node geom)
          Called when a visit is visited.
 void visit(Spatial spatial)
          Called when a spatial is visited in the scene graph.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SceneGraphVisitorAdapter

public SceneGraphVisitorAdapter()
メソッドの詳細

visit

public void visit(Geometry geom)
Called when a Geometry is visited.

パラメータ:
geom - The visited geometry

visit

public void visit(Node geom)
Called when a visit is visited.

パラメータ:
geom - The visited node

visit

public final void visit(Spatial spatial)
インタフェース SceneGraphVisitor の記述:
Called when a spatial is visited in the scene graph.

定義:
インタフェース SceneGraphVisitor 内の visit
パラメータ:
spatial - The visited spatial