IFClite TypeScript API
    Preparing search index...

    Interface PickFitPolicyOptions

    interface PickFitPolicyOptions {
        fovY: number;
        linearAspectThreshold?: number;
        linearMinLongest?: number;
        viewportShortPx?: number;
    }
    Index
    fovY: number

    Vertical field-of-view in radians.

    linearAspectThreshold?: number

    Override the linear-detection threshold. Production should leave this at the default; exposed for tests that pin the threshold behaviour.

    linearMinLongest?: number

    Override the minimum longest-axis extent (world units) at/above which the linear policy is allowed to apply. Production should leave this at the default; exposed for tests that pin the size-floor behaviour.

    viewportShortPx?: number

    Shortest viewport dimension in pixels (height for landscape).