Table of Contents

Struct ModelBoneCollection.Enumerator

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Provides the ability to iterate through the bones in an ModelMeshCollection.

public struct ModelBoneCollection.Enumerator : IEnumerator<ModelBone>, IEnumerator, IDisposable
Implements
Inherited Members

Properties

Current

Gets the current element in the ModelMeshCollection.

public ModelBone Current { get; }

Property Value

ModelBone

Methods

Dispose()

Immediately releases the unmanaged resources used by this object.

public void Dispose()

MoveNext()

Advances the enumerator to the next element of the ModelMeshCollection.

public bool MoveNext()

Returns

bool

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

public void Reset()

Exceptions

InvalidOperationException

The collection was modified after the enumerator was created.