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