Share via


Mesh.Clean Method ()

Cleans a mesh, preparing it for simplification.

Overload List

public static Mesh Clean(CleanType, Mesh, GraphicsStream, GraphicsStream);
public static Mesh Clean(CleanType, Mesh, GraphicsStream, GraphicsStream, out string);
public static Mesh Clean(CleanType, Mesh, int[], out int);
public static Mesh Clean(CleanType, Mesh, int[], out int, out string);

Remarks

This method cleans the mesh by adding another vertex where two fans of triangles share the same vertex.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.