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

    Function coarsestFreshIndex

    • Index of the coarsest child that is ready AND fresh for version, or -1 when none is fresh yet (the ≤1-frame window right after a re-slice, before even the coarse level recommits). Children are stored coarsest→finest, so the first match is the coarsest. The caller falls back to the coarsest READY level on -1 so the group shows stale-but-ready geometry rather than blank.

      Parameters

      Returns number