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.3.420.0 (24.3.420.0)
Syntax
public long MaximumSize { get; set; }

Property Value

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

The size of the TerrainCacheGroup will not always be less than the MaximumSize. Rather, when loading a new region, if the size is above the 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