[SOLVED] How to Get Current Polygon Amount of a Mesh


the title is pretty self-explaining. I want to write something like this:

Mesh m = new Mesh();
// ...
int amount = m.Polygons.Count;

I know that you can do that with faces and vertices but how about polygons?


Edit: I need this for the mesh.Reduce() method. The first parameter is the desiredPolygonAmount, which I want to pass relative to the current one.

Hi @Ivan1,

Basically, Faces = Polygons.

– Dale

1 Like