Solid.getTriangleCount()

Returns the current triangle count from the manifold mesh.

Usage

javascript
const triangleCount = solid.getTriangleCount();

Use this for diagnostics, profiling, or cleanup thresholds.