Click or drag to resize

TerrainRegion Class

A region of terrain. Terrain regions are the unit of caching used by TerrainCache and TerrainCacheGroup.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainTerrainRegion

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public abstract class TerrainRegion : IEquatable<TerrainRegion>

The TerrainRegion type exposes the following members.

Constructors
  NameDescription
Protected methodTerrainRegion
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyCache
Gets the cache associated with this region.
Public propertyIsLockedInMemory
Gets or sets a value indicating whether this region is locked in memory. A locked region will not be unloaded, even if the cache is full and this is the least recently used region.
Public propertyLastAccess
Gets the time stamp of the last time this region was accessed.
Public propertySize
Gets the approximate size, in bytes, of this region. This size is generally only useful for comparing the size of regions.
Public propertyStatus
Gets or sets the current status of this region. Only the cache associated with this region should set the value of this property.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(TerrainRegion)
Indicates whether another instance of this type is exactly equal to this instance.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateLastAccess
Updates the last access time of this terrain region with the current time stamp of the cache group associated with this region.
Top
See Also