Mesh |
public class MeshAnalyzer
The MeshAnalyzer type exposes the following members.
Name | Description | |
---|---|---|
MeshAnalyzer(PositionNormalTextureVertex, Int32) | Constructor | |
MeshAnalyzer(Vector3, Int32) | Constructor |
Name | Description | |
---|---|---|
Edges | Gets list of MeshEdge structs that define all the edges of the specified mesh. | |
Polygons | Gets list of MeshPolygon structs that define all the polygons (triangles) of the specified mesh. | |
Positions | Gets list of unique Point3D positions that are created from the specified mesh. |
Name | Description | |
---|---|---|
Analyze | Analyze method analyzes the mesh and creates the Positions, Edges and Polygons lists. | |
CreateEdgeLines | CreateEdgeLines gets an angle in degrees and returns a list of position indices (indexes) that represent edge lines. En edge line is created when the difference between two adjacent triangle normals is bigger than the specified angle. | |
Dump | Dump method dumps the string with information about the created positions, polygons and edges to standard output (usually Visual Studio Output window). | |
GetMeshAnalyzerInfo | GetMeshAnalyzerInfo returns a string that shows the created positions, polygons and edges. | |
TryCreate | TryCreate method tries to create a MeshAnalyzer from the specified mesh. |