triangleCount property

int get triangleCount

How many triangles it has.

Implementation

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