Click or drag to resize

TerrainCollection Class

A collection of TerrainOverlay objects.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsTerrainCollection

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public sealed class TerrainCollection : ICollection<TerrainOverlay>, 
	IEnumerable<TerrainOverlay>, IDisposable

The TerrainCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of TerrainOverlay objects in the collection.
Public propertyIsReadOnly
Gets whether or not the collection is read only.
Public propertyItem
Gets the TerrainOverlay at the specified index.
Top
Methods
  NameDescription
Public methodAdd(String)
Creates a TerrainOverlay from the uri, which represents a Uri, and adds it to the collection.
Public methodAdd(TerrainOverlay)
Adds terrainOverlay to the collection.
Public methodAdd(Uri)
Creates a TerrainOverlay from the uri and adds it to the collection.
Public methodAddAsync(String)
Creates a TerrainOverlay from the uri, which represents a Uri, and adds it to the collection asynchronously.
Public methodAddAsync(TerrainOverlay)
Adds terrainOverlay to the collection asynchronously.
Public methodAddAsync(Uri)
Creates a TerrainOverlay from the uri and adds it to the collection asynchronously.
Public methodAddRange
Adds the elements of the specified collection to the end of the TerrainCollection.
Public methodAddRangeAsync
Adds the elements of the specified collection to the end of the TerrainCollection asynchronously.
Public methodBringToFront
Brings the TerrainOverlay to the front of the collection so it is rendered first or on the bottom.
Public methodClear
Removes all TerrainOverlay objects from the collection.
Public methodContains(String)
Checks the presence of a TerrainOverlay with the specified Uri in the collection.
Public methodContains(TerrainOverlay)
Checks the presence of a TerrainOverlay in the collection.
Public methodContains(Uri)
Checks the presence of a TerrainOverlay with the specified Uri in the collection.
Public methodCopyTo
Copies the elements of the collection starting at startingIndex into an array.
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Constructs an iterator that can be used to iterate the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(String)
Gets the index of the TerrainOverlay with the specified Uri.
Public methodIndexOf(TerrainOverlay)
Gets the index of the specified TerrainOverlay.
Public methodIndexOf(Uri)
Gets the index of the TerrainOverlay with the specified Uri.
Public methodMove(Int32, Int32)
Moves the TerrainOverlay at the specified index to the specified position.
Public methodMove(TerrainOverlay, Int32)
Moves the TerrainOverlay to the specified position.
Public methodRemove
Removes a TerrainOverlay from the collection.
Public methodSendToBack
Sends the TerrainOverlay to the back of the collection so it is rendered last or on the top.
Public methodSwap(Int32, Int32)
Swaps the position of two TerrainOverlay objects at the specified indices.
Public methodSwap(TerrainOverlay, TerrainOverlay)
Swaps the position of two TerrainOverlay objects.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAddComplete
Raised when an asynchronous add is completed.
Top
See Also