Click or drag to resize

RasterTerrainCacheCacheTileSize Property

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).

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public int CacheTileSize { get; set; }

Property Value

Type: Int32
See Also