Mesh |
public static MeshAnalyzer? TryCreate( Mesh mesh )
TryCreate method tries to create a MeshAnalyzer from the specified mesh.
If Mesh is a StandardMesh then the MeshAnalyzer is created directly from the mesh.
Otherwise the GetDataChannelArrayT(MeshDataChannelTypes) is called to retrieve the positions and triangle indices from the mesh (note that this may require copying of data). If the positions and triangle indices cannot be retrieved then null is returned.