triangleCount property

int get triangleCount

How many triangles there are.

Implementation

int get triangleCount => indices.length ~/ 3;