Click or drag to resize

StkTerrainServerGetMesh Method

Gets a mesh for a specified set of coordinates. This method is not expected to do any caching.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override 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 mesh.
Exceptions
ExceptionCondition
DataUnavailableException Thrown when the requested tile does not exist.
ArgumentOutOfRangeException Thrown when the tile coordinates are invalid.
See Also