Share via


ModelMesh Members

The following tables list the members exposed by the ModelMesh type.

Public Properties

Name Description
Public Property BoundingSphere Gets the BoundingSphere that contains this mesh.
Public Property Effects Gets a collection of effects associated with this mesh.
Public Property MeshParts Gets the ModelMeshPart objects that make up this mesh. Each part of a mesh is composed of a set of primitives that share the same material.
Public Property Name Gets the name of this mesh.
Public Property ParentBone Gets the parent bone for this mesh. The parent bone of a mesh contains a transformation matrix that describes how the mesh is located relative to any parent meshes in a model.
Public Property Tag Gets or sets an object identifying this mesh.

Public Methods

Name Description
Public Method Draw Draws all of the ModelMeshPart objects in this mesh, using their current Effect settings.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

ModelMesh Class
Microsoft.Xna.Framework.Graphics Namespace