MeshCheckParameters

References
[StructLayout(LayoutKind.Sequential, Pack = 8, Size = 128)] public struct MeshCheckParameters
Output of a mesh checking operations.

Properties

CheckForBadNormals

#Since v7.0
If true, then look for vertex normals that are not unit vectors, are zero length or vary greatly from the general direction of the face normals.
public bool CheckForBadNormals { get; set; }

CheckForDegenerateFaces

#Since v7.0
If true, then look for triangles and quads that have zero area and quads where one sub triangle has zero area.
public bool CheckForDegenerateFaces { get; set; }

CheckForDisjointMeshes

#Since v7.0
If true, then look for faces in the mesh that are totally isolated from other faces in the mesh. (i.e. an island of faces, or many islands, that have a boundary of naked edges)
public bool CheckForDisjointMeshes { get; set; }

CheckForDuplicateFaces

#Since v7.0
If true, then look for faces that have vertices (not necessarily vertex indexes) that are identical.
public bool CheckForDuplicateFaces { get; set; }

CheckForExtremelyShortEdges

#Since v7.0
If true, then look for topological edges where the distance between the endpoints is less than ExtremelyShortEdgeDistance.
public bool CheckForExtremelyShortEdges { get; set; }

CheckForInvalidNgons

#Since v7.0
If true, then look for ngons that have invalid information.
public bool CheckForInvalidNgons { get; set; }

CheckForNakedEdges

#Since v7.0
If true, then look for topological edges in the mesh topology where the face count is 1. Note, this check is also made if CheckForDuplicateFaces is true but the output is not shown if CheckForNakedEdges is false.
public bool CheckForNakedEdges { get; set; }

CheckForNonManifoldEdges

#Since v7.0
If true, then look for topological edges in the mesh topology where the face count is greater than 2. Note, this check is also made if CheckForDuplicateFaces is true but the output is not shown if CheckForNonManifoldEdges is false.
public bool CheckForNonManifoldEdges { get; set; }

CheckForRandomFaceNormals

#Since v7.0
If true, then look for adjacent faces that have the same edge orientation. This typically means that clockwise/counterclockwise orientation, and face normal are not in sync.
public bool CheckForRandomFaceNormals { get; set; }

CheckForSelfIntersection

#Since v7.0
If true, then look for self intersections.
public bool CheckForSelfIntersection { get; set; }

CheckForUnusedVertices

#Since v7.0
If true, then look for vertices that are not referenced by any face in the mesh.
public bool CheckForUnusedVertices { get; set; }

DegenerateFaceCount

#Since v7.0
Gets the total degenerate face count for all meshes.
public int DegenerateFaceCount { get; }

DisjointMeshCount

#Since v7.0
Gets the total count of disjoint pieces for all meshes.
public int DisjointMeshCount { get; }

DuplicateFaceCount

#Since v7.0
Gets the total count of duplicate faces for all meshes.
public int DuplicateFaceCount { get; }

ExtremelyShortEdgeCount

#Since v7.0
Gets the total number of extremely short edges for all meshes.
public int ExtremelyShortEdgeCount { get; }

InvalidNgonCount

#Since v7.0
Gets the total number of invalid ngons for all meshes.
public int InvalidNgonCount { get; }

NakedEdgeCount

#Since v7.0
Gets the total number of naked edges for all meshes.
public int NakedEdgeCount { get; }

NonManifoldEdgeCount

#Since v7.0
Gets the total number of non-manifold edges for all meshes.
public int NonManifoldEdgeCount { get; }

NonUnitVectorNormalCount

#Since v7.0
Get the total count of normals that are not unit vectors for all meshes.
public int NonUnitVectorNormalCount { get; }

RandomFaceNormalCount

#Since v7.0
Gets the total count of random face normals for all meshes.
public int RandomFaceNormalCount { get; }

SelfIntersectingPairsCount

#Since v7.0
Gets the total count of self intersections for all meshes.
public int SelfIntersectingPairsCount { get; }

UnusedVertexCount

#Since v7.0
Gets the total count of unused vertices for all meshes.
public int UnusedVertexCount { get; }

VertexFaceNormalsDifferCount

#Since v7.0
Gets the total count of vertex normals that differ greatly from face normals for all meshes.
public int VertexFaceNormalsDifferCount { get; }

ZeroLengthNormalCount

#Since v7.0
Gets the total count of zero length normals for all meshes.
public int ZeroLengthNormalCount { get; }

Methods

Defaults

#Since v7.0
Gets the default mesh check parameters.
public static MeshCheckParameters Defaults()
The default mesh check parameters.