public class ImageTileLoader extends java.lang.Object implements TerrainGridTileLoader
Constructor and Description |
---|
ImageTileLoader(AssetManager assetManager,
Namer namer) |
ImageTileLoader(java.lang.String textureBase,
java.lang.String textureExt,
AssetManager assetManager) |
Modifier and Type | Method and Description |
---|---|
TerrainQuad |
getTerrainQuadAt(Vector3f location) |
void |
read(JmeImporter im) |
void |
setHeightScale(float heightScale)
Affects the vertical scale of the terrain when loaded.
|
void |
setPatchSize(int patchSize) |
void |
setQuadSize(int quadSize) |
void |
setSize(int size) |
void |
write(JmeExporter ex) |
public ImageTileLoader(java.lang.String textureBase, java.lang.String textureExt, AssetManager assetManager)
public ImageTileLoader(AssetManager assetManager, Namer namer)
public void setHeightScale(float heightScale)
public void setSize(int size)
public TerrainQuad getTerrainQuadAt(Vector3f location)
getTerrainQuadAt
in interface TerrainGridTileLoader
public void setPatchSize(int patchSize)
setPatchSize
in interface TerrainGridTileLoader
public void setQuadSize(int quadSize)
setQuadSize
in interface TerrainGridTileLoader
public void write(JmeExporter ex) throws java.io.IOException
public void read(JmeImporter im) throws java.io.IOException