public interface TerrainGridListener
| Modifier and Type | Method and Description |
|---|---|
void |
gridMoved(com.jme3.math.Vector3f newCenter)
Called whenever the camera has moved full grid cells.
|
void |
tileAttached(com.jme3.math.Vector3f cell,
TerrainQuad quad)
Called when a TerrainQuad is attached to the scene and is visible (attached to the root TerrainGrid)
|
void |
tileDetached(com.jme3.math.Vector3f cell,
TerrainQuad quad)
Called when a TerrainQuad is detached from its TerrainGrid parent: it is no longer on the scene graph.
|
void gridMoved(com.jme3.math.Vector3f newCenter)
newCenter - void tileAttached(com.jme3.math.Vector3f cell,
TerrainQuad quad)
cell - the cell that is moved intoquad - the quad that was just attachedvoid tileDetached(com.jme3.math.Vector3f cell,
TerrainQuad quad)
cell - the cell that is moved intoquad - the quad that was just detached