ModelMeshCollection.ModelMeshCollection.Enumerator Structure (Microsoft.Xna.Framework.Graphics)

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

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = -1, Size = -1)]
public struct ModelMeshCollection.Enumerator : IEnumerator<ModelMesh>, IDisposable, IEnumerator

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ModelMeshCollection.Enumerator type exposes the following members.

  Platforms Name Description
Current Gets the current element in the ModelMeshCollection. (Implements Current().)
  Platforms Name Description
Dispose Immediately releases the unmanaged resources used by this object. (Implements IDisposable.Dispose().)
MoveNext Advances the enumerator to the next element of the ModelMeshCollection. (Implements IEnumerator.MoveNext().)
Reset  (Implements IEnumerator.Reset().)
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop