Click or drag to resize

TerrainCacheGroupMaximumSize Property

Gets or sets the maximum size, in bytes, of this cache group.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
public long MaximumSize { get; set; }

Property Value

Type: Int64
ArgumentOutOfRangeException Thrown when the provided maximum size is less than zero.

The size of the TerrainCacheGroup will not always be less than the MaximumSize. Rather, when loading a new region, if the size is above maximum size, old regions will be unloaded until the size is below the maximum (or all regions are unloaded). When the new region is then loaded, the size might go back up above the maximum.

See Also