Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function formatAbsorption

    • Readout text for a κ value. κ now ranges over decades, so a fixed toFixed(2) would print "4035.77" for a thin-line scene and "0.00" for everything below 0.005. Significant-digit formatting keeps the readout short and informative across the whole track.

      Parameters

      • v: number

      Returns string