Export (0) Print
Expand All

ModelMesh.MeshParts Property

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.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

public ModelMeshPartCollection MeshParts { get; }

Property Value

The ModelMeshPart objects that make up this mesh.

It is not necessary to use this class directly. In advanced rendering scenarios, it is possible to draw using MeshParts properties in combination with the vertex and index buffers on ModelMesh. However, in most cases, ModelMesh.Draw will be sufficient.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft