Solid.getTriangleCount()

July 1, 2026 ยท View on GitHub

Returns the current triangle count from the manifold mesh.

Usage

const triangleCount = solid.getTriangleCount();

Signature

solid.getTriangleCount()

Parameters

None.

Returns

number - Current triangle count.

Use this for diagnostics, profiling, or cleanup thresholds.