BasicTessellator

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val contentType: String

Unique tile factory content type name

Link copied to clipboard

Detail control determines how much times terrain texel is greater than screen pixel.

Link copied to clipboard

Default level set is configured to ~0.6 meter resolution

Functions

Link copied to clipboard
open override fun createTile(sector: Sector, level: Level, row: Int, column: Int): TerrainTile

Returns a tile for a specified sector, level within a LevelSet, and row and column within that level.

Link copied to clipboard
fun setupTileCache(capacity: Long, lowWater: Long = (capacity * 0.75).toLong())

Cache size should be adjusted in case of levelSet or detailControl changed.

Link copied to clipboard
open override fun tessellate(rc: RenderContext): Terrain