ThreePresenter API Documentation - v0.1.2
    Preparing search index...

    Function formatStats

    • Format geometry stats as human-readable string

      Parameters

      Returns string

      Formatted string with key metrics

      const stats = calculateObjectStats(model);
      console.log(formatStats(stats));
      // "42.5K triangles, 127.3K vertices, 2.5 x 3.1 x 1.8m, 3 textures"