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.3.420.0 (24.3.420.0)
Syntax public QuantizedMeshTerrainTile GetMesh(
int level,
int x,
int y
)
Public Function GetMesh (
level As Integer,
x As Integer,
y As Integer
) As QuantizedMeshTerrainTile
public:
QuantizedMeshTerrainTile^ GetMesh(
int level,
int x,
int y
)
member GetMesh :
level : int *
x : int *
y : int -> QuantizedMeshTerrainTile
Parameters
- level
- Type: SystemInt32
The zoom level. - x
- Type: SystemInt32
The X tile coordinate. - y
- Type: SystemInt32
The Y tile coordinate.
Return Value
Type:
QuantizedMeshTerrainTileThe requested terrain tile, either newly loaded or from the cache.
Exceptions See Also