Export (0) Print
Expand All

MeshContent Class

Bb197976.note(en-US,XNAGameStudio.30).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

ADD
Show:
© 2014 Microsoft