Click or drag to resize

QuantizedMeshTerrainCacheGetMesh Method

Gets the terrain tile with specified tile coordinates. If a tile satisfying the request is in the cache, it will be returned. Otherwise, the tile will be loaded to satisfy the request, and then a request to add that tile to the cache will be queued to the TerrainCacheGroup thread.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public QuantizedMeshTerrainTile GetMesh(
	int level,
	int x,
	int y
)

Parameters

level
Type: SystemInt32
The zoom level.
x
Type: SystemInt32
The X tile coordinate.
y
Type: SystemInt32
The Y tile coordinate.

Return Value

Type: QuantizedMeshTerrainTile
The requested terrain tile, either newly loaded or from the cache.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the tile coordinates are invalid.
See Also