|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.SceneGraphVisitorAdapter
public class SceneGraphVisitorAdapter
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 |
コンストラクタの詳細 |
---|
public SceneGraphVisitorAdapter()
メソッドの詳細 |
---|
public void visit(Geometry geom)
Geometry
is visited.
geom
- The visited geometrypublic void visit(Node geom)
visit
is visited.
geom
- The visited nodepublic final void visit(Spatial spatial)
SceneGraphVisitor
の記述:
SceneGraphVisitor
内の visit
spatial
- The visited spatial
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |