MeshHelper.SwapWindingOrder Method

Reverses the triangle winding order of the specified mesh.

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

Syntax

public static void SwapWindingOrder (
         MeshContent mesh
)

Parameters

  • mesh
    The mesh to be modified.

Remarks

Call this method when moving data between right-handed and left-handed coordinate systems, or when changing the direction of the back-face culling.

See Also

Reference

MeshHelper Class
MeshHelper Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista