Click or drag to resize

QuantizedMeshTerrainCachePreloadExtent Method

Loads the terrain data in a given extent into the terrain cache. This method does not return until the terrain data is fully loaded. All terrain data within the extent is loaded into memory even if doing so would exceed the TerrainCacheGroup'sMaximumSize. Furthermore, the loaded terrain data is locked in memory (meaning it will not be unloaded) until the user calls UnloadExtent(CartographicExtent). This method is safe to call from any 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 void PreloadExtent(
	CartographicExtent extent
)

Parameters

extent
Type: AGI.Foundation.CoordinatesCartographicExtent
The extent for which to load terrain data.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when extent is .
See Also