Click or drag to resize
DigitalRuneTerrainTileCollection Class
Manages the tiles of a terrain.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionTerrainTile
    DigitalRune.CollectionsChildCollectionTerrain, TerrainTile
      DigitalRune.GraphicsTerrainTileCollection

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class TerrainTileCollection : ChildCollection<Terrain, TerrainTile>, 
	ICollection<TerrainTile>, IEnumerable<TerrainTile>, IEnumerable

The TerrainTileCollection type exposes the following members.

Constructors
  NameDescription
Public methodTerrainTileCollection
Initializes a new instance of the TerrainTileCollection class.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionTerrainTile.)
Public methodClear (Inherited from CollectionTerrainTile.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from ChildCollectionTParent, TChild.)
Public methodContains (Inherited from CollectionTerrainTile.)
Public methodCopyTo (Inherited from CollectionTerrainTile.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodGetEnumerator (Inherited from ChildCollectionTParent, TChild.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetParent
Gets the parent of an object.
(Overrides ChildCollectionTParent, TChildGetParent(TChild).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionTerrainTile.)
Public methodInsert (Inherited from CollectionTerrainTile.)
Protected methodInsertItem
Inserts an element into the collection at the specified index.
(Inherited from ChildCollectionTParent, TChild.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
(Inherited from ChildCollectionTParent, TChild.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from ChildCollectionTParent, TChild.)
Public methodRemove (Inherited from CollectionTerrainTile.)
Public methodRemoveAt (Inherited from CollectionTerrainTile.)
Protected methodRemoveItem
Removes the element at the specified index of the collection.
(Inherited from ChildCollectionTParent, TChild.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from ChildCollectionTParent, TChild.)
Protected methodSetParent
Sets the parent of the given object.
(Overrides ChildCollectionTParent, TChildSetParent(TChild, TParent).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeTerrainTile (Defined by CollectionHelper.)
Public Extension MethodDoTerrainTile(ActionTerrainTile)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoTerrainTile(ActionTerrainTile, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachTerrainTile(ActionTerrainTile)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachTerrainTile(ActionTerrainTile, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfTerrainTile
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.)
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionTerrainTile.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionTerrainTile.)
Protected propertyItems (Inherited from CollectionTerrainTile.)
Public propertyParent
Gets (or sets) the parent which owns this child collection.
(Inherited from ChildCollectionTParent, TChild.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionTerrainTile.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionTerrainTile.)
Top
See Also