public interface StaticTerrainData extends TerrainData
A static terrain representation contains points that can all be loaded at setup time. Typically used to represent smaller datasets, this interface provides the representation of the data all at once and assumes a single texture object covers the entire dataset. However, don't forget that Java3D Texture object does allow multi-level mip-mapping within the texture instance.
TerrainData.getSourceDataType() always returns
TerrainData.STATIC_DATA.
FREEFORM_DATA, STATIC_DATA, TILED_DATA| Modifier and Type | Method and Description |
|---|---|
int |
getGridDepth()
Get the depth (number of points on the X axis) of the grid.
|
int |
getGridWidth()
Get the width (number of points on the Y axis) of the grid.
|
BufferedImage |
getTexture()
Fetch the Texture that is used to cover the entire terrain.
|
getCoordinate, getCoordinate, getCoordinateWithColor, getCoordinateWithTexture, getGridXStep, getGridYStep, getHeightFromGrid, getSourceDataType, hasColor, hasTexturegetHeightBufferedImage getTexture()
int getGridWidth()
int getGridDepth()
Copyright © 2001 - 2015 j3d.org