Package com.jme3.terrain.geomipmap.grid
Class ImageTileLoader
java.lang.Object
com.jme3.terrain.geomipmap.grid.ImageTileLoader
- All Implemented Interfaces:
Savable
,TerrainGridTileLoader
-
Constructor Summary
ConstructorDescriptionImageTileLoader
(AssetManager assetManager, Namer namer) ImageTileLoader
(String textureBase, String textureExt, AssetManager assetManager) -
Method Summary
Modifier and TypeMethodDescriptiongetTerrainQuadAt
(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)
-
Constructor Details
-
ImageTileLoader
-
ImageTileLoader
-
-
Method Details
-
setHeightScale
public void setHeightScale(float heightScale) Affects the vertical scale of the terrain when loaded. -
setSize
public void setSize(int size) -
getTerrainQuadAt
- Specified by:
getTerrainQuadAt
in interfaceTerrainGridTileLoader
-
setPatchSize
public void setPatchSize(int patchSize) - Specified by:
setPatchSize
in interfaceTerrainGridTileLoader
-
setQuadSize
public void setQuadSize(int quadSize) - Specified by:
setQuadSize
in interfaceTerrainGridTileLoader
-
write
- Specified by:
write
in interfaceSavable
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Throws:
IOException
-