Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

MeshContent Class

Bb197976.note(en-us,XNAGameStudio.41).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 7, Windows Vista, Windows XP
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.