ModelMeshCollection Class (Microsoft.Xna.Framework.Graphics)

Represents a collection of ModelMesh objects.
System.Object
   System.Collections.ObjectModel.ReadOnlyCollection<T>
      Microsoft.Xna.Framework.Graphics.ModelMeshCollection

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
public sealed class ModelMeshCollection : ReadOnlyCollection<T>

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ModelMeshCollection type exposes the following members.

  Platforms Name Description
Item Retrieves a ModelMesh from the collection, given the name of the mesh. 
Top
  Platforms Name Description
GetEnumerator Returns a ModelMeshCollection.Enumerator that can iterate through a ModelMeshCollection. 
TryGetValue Finds a mesh with a given name if it exists in the collection. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web