TerrainBufferOptions
Description
Helper class for creating instances of TerrainBuffer.
Public / Methods
CreateTerrainBuffer
Creates a new instance of TerrainBuffer, based on these options.
- IOException
-
If an I/O error has occurred while initializing the pyramid file cache (see CacheOptions).
TextureAtlas
Options for creating the index in-th texture atlas for terrain layer slot textures (see TerrainLayerSlot.TexelPyramid).
Public / Attributes
CacheOptions
Options for creating the texture tile cache.
These options are ignored when CachePath is null
. Defaults to a fresh instance of a PyramidFileCacheOptions.
CachePath
Path to the texture tile cache.
Specify null
to disable texture tile caching. The default value is null
.
- See also
HeightmapLayers
The heightmap layers that are going to be used by terrain meshes.
The default value is HeightmapLayer.All.