Click or drag to resize

TerrainProviderPreloadExtent 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.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public abstract 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