Click or drag to resize

CompositeTerrainProviderPreloadExtent Method

Loads the terrain data in a given CartographicExtent 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.2.419.0 (24.2.419.0)
Syntax
public override void PreloadExtent(
	CartographicExtent extent
)

Parameters

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