Click or drag to resize
DigitalRuneSceneNodeCollection Class
Manages a collection of scene nodes as the children of another scene node.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionSceneNode
    DigitalRune.CollectionsChildCollectionSceneNode, SceneNode
      DigitalRune.Graphics.SceneGraphSceneNodeCollection

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class SceneNodeCollection : ChildCollection<SceneNode, SceneNode>, 
	ICollection<SceneNode>, IEnumerable<SceneNode>, IEnumerable

The SceneNodeCollection type exposes the following members.

Constructors
  NameDescription
Public methodSceneNodeCollection
Initializes a new instance of the SceneNodeCollection class.
Public methodSceneNodeCollection(Int32)
Initializes a new instance of the SceneNodeCollection class with the specified initial capacity
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionSceneNode.)
Public methodClear (Inherited from CollectionSceneNode.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from ChildCollectionTParent, TChild.)
Public methodContains (Inherited from CollectionSceneNode.)
Public methodCopyTo (Inherited from CollectionSceneNode.)
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 CollectionSceneNode.)
Public methodInsert (Inherited from CollectionSceneNode.)
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 CollectionSceneNode.)
Public methodRemoveAt (Inherited from CollectionSceneNode.)
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 MethodAddRangeSceneNode (Defined by CollectionHelper.)
Public Extension MethodDoSceneNode(ActionSceneNode)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoSceneNode(ActionSceneNode, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachSceneNode(ActionSceneNode)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachSceneNode(ActionSceneNode, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfSceneNode
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 CollectionSceneNode.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionSceneNode.)
Protected propertyItems (Inherited from CollectionSceneNode.)
Public propertyParent
Gets (or sets) the parent which owns this child collection.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionSceneNode.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionSceneNode.)
Top
See Also