Click or drag to resize
DigitalRuneMaterialInstanceCollection Class
Manages a read-only collection of MaterialInstance objects.
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.SceneGraphMaterialInstanceCollection

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class MaterialInstanceCollection : IList<MaterialInstance>, 
	ICollection<MaterialInstance>, IEnumerable<MaterialInstance>, IEnumerable

The MaterialInstanceCollection type exposes the following members.

Methods
  NameDescription
Public methodContains
Determines whether the MaterialInstanceCollection contains a specific value.
Public methodCopyTo
Copies the elements of the MaterialInstanceCollection to an Array, starting at a particular Array index.
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
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Determines the index of a specific material instance in the MaterialInstanceCollection.
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.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeMaterialInstance (Defined by CollectionHelper.)
Public Extension MethodDoMaterialInstance(ActionMaterialInstance)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoMaterialInstance(ActionMaterialInstance, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachMaterialInstance(ActionMaterialInstance)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachMaterialInstance(ActionMaterialInstance, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfMaterialInstance
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of material instances contained in the MaterialInstanceCollection.
Public propertyItem
Gets the material instance at the specified index.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionMaterialInstanceAdd
Not supported.
Explicit interface implementationPrivate methodICollectionMaterialInstanceClear
Not supported.
Explicit interface implementationPrivate methodIEnumerableMaterialInstanceGetEnumerator
Returns an enumerator that iterates through the collection.
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodIListMaterialInstanceInsert
Not supported.
Explicit interface implementationPrivate propertyICollectionMaterialInstanceIsReadOnly
Explicit interface implementationPrivate methodICollectionMaterialInstanceRemove
Not supported.
Explicit interface implementationPrivate methodIListMaterialInstanceRemoveAt
Not supported.
Top
See Also