Mesh.PolygonCount
Mesh.PolygonCount property
获取多边形的数量
public int PolygonCount { get; }
Property Value
多边形计数。
示例
以下代码展示了如何获取网格的多边形数量。
var mesh = (new Sphere()).ToMesh();
Console.WriteLine("Mesh's polygon count = " + mesh.PolygonCount);
另请参见
- class Mesh
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D