Click or drag to resize

RasterTerrainCache Properties

The RasterTerrainCache type exposes the following members.

Properties
  NameDescription
Public propertyCacheTileSize
Gets or sets the size, in posts, of a terrain region in the cache. Some RasterTerrainProviders set this to their natural tile size during construction in order to improve read performance. It cannot be set after the cache is used for the first time. Because adjacent cache blocks share rows or columns of posts, the actual number of posts requested from the terrain provider will be one post greater than this number in each direction. For example, if the tile size is 1200, a westernmost cache block will cover posts 0 through 1200 (inclusive, for a total of 1201 posts) in the longitude direction. The next cache block to the east will cover posts 1200 through 2400 (1201 posts again).
Public propertyGroup
Gets the TerrainCacheGroup that contains this cache.
(Inherited from TerrainCache.)
Public propertyLeastRecentlyUsedRegion
Gets the region in this cache that was least recently used.
(Overrides TerrainCacheLeastRecentlyUsedRegion.)
Public propertySize
Gets the approximate total memory, in bytes, used by all regions in the cache.
(Overrides TerrainCacheSize.)
Top
See Also