MeshHelper.MergeDuplicateVertices Method (MeshContent)
Note
This method is available only when developing for Windows.
Processes the PositionIndices and VertexChannel data of the specified mesh, merging any duplicate vertices.
This should generally be followed by a call to MergeDuplicatePositions.
Syntax
'Declaration
Public Shared Sub MergeDuplicateVertices ( _
mesh As MeshContent _
)
public static void MergeDuplicateVertices (
MeshContent mesh
)
public:
static void MergeDuplicateVertices(
MeshContent mesh
)
Parameters
- mesh
Type: MeshContent
Mesh to be processed.
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