TerrainCacheGroupMaximumSize Property |
Namespace: AGI.Foundation.Terrain
Exception | Condition |
---|---|
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 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.