MeshHelper.SwapWindingOrder Method
Note
This method is available only when developing for Windows.
Reverses the triangle winding order of the specified mesh.
Syntax
'Declaration
Public Shared Sub SwapWindingOrder ( _
mesh As MeshContent _
)
public static void SwapWindingOrder (
MeshContent mesh
)
public:
static void SwapWindingOrder(
MeshContent mesh
)
Parameters
- mesh
Type: MeshContent
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.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
MeshHelper Class
MeshHelper Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP