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

    The subset of PickingSystem this cache validates against. A structural port, so tests can pass a plain object with two numbers.

    interface PickGenerationPort {
        pickGeneration: number;
        visibleSignature: number;
        pickAt?(clientX: number, clientY: number): Promise<void>;
    }
    Index
    pickGeneration: number
    visibleSignature: number
    • Pick immediately at a viewport position (tap-to-pick). Resolves once the result has been delivered to the pick consumers and their (asynchronous: label fetch, then store) handler has finished, so a caller can read the cache right after. Optional: a port without it (tests) means "act on whatever the cache already holds".

      Parameters

      • clientX: number
      • clientY: number

      Returns Promise<void>