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

    Function nextKeepFraction

    • Hysteresis step: from currentKeep, move to the target fraction only when the EFFECTIVE density (elementsPerPixel × currentKeep) has left the [cap × leaveRatio, cap × enterRatio] band in the direction of the target; otherwise hold. elementsPerPixel is the UNTHINNED density (the tracker divides the node's full visible count by its footprint).

      Parameters

      Returns number