Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...
    • Push the coverage-affecting appearance values onto a node's pick material.

      opacity and alpha_cutoff are the two visual values the pick pass reads (they are the whole coverage term and the cutout threshold — §6.5), and the layers panel can change either at runtime. The opacity is ALSO reconciled from the visual material's live uniform on every pick render (picking-system/visibility-sync.ts — that is what covers the LOD cross-fade and the embedder exposure path), so for opacity this push matters for the invalidation its return value drives; the cutoff has no other route.

      A no-op for a node with no pick material (picking disabled, or a test-built node).

      Returns whether a real mesh pick material was updated, so callers can invalidate the cached pick buffer for meshes only — the other geometry types (whose pick coverage this never touches) get false and skip the needless offscreen re-render.

      Parameters

      • object: Mesh
      • values: { opacity?: number; alphaCutoff?: number }

      Returns boolean