Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MeshContent Class

Bb197976.note(en-us,XNAGameStudio.31).gifNote
This class is available only when developing for Windows.
Provides properties and methods that define various aspects of a mesh.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

public class MeshContent : NodeContent

A mesh has the following characteristics:

  • It is not jointed. For example, the wheels of a car are separate meshes from the body mesh of the same car.
  • It may contain multiple materials. For example, the car body can be a single mesh even if the windshield component uses a different texture and shader as compared to the leather seat component of the car body.
  • Vertices containing different channels may be mixed in a single mesh. For example, the seat geometry includes tangent vectors but the windshield does not. However, using a single mesh preserves topological continuity (shared vertex identities) across material and vertex format boundaries.

Windows XP SP2, Windows Vista

Community Additions

Show:
© 2017 Microsoft