Method GetPolygonCount
GetPolygonCount(uint, bool)
Returns the number of polygon of a mesh
Declaration
[HandleProcessCorruptedStateExceptions]
public ulong GetPolygonCount(uint mesh, bool asTriangleCount = false)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | mesh | The mesh |
| bool | asTriangleCount | If true count the equivalent of triangles for each polygon |
Returns
| Type | Description |
|---|---|
| ulong |