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

    Interface LayersAudioPort

    What the panel needs from the sound layer for its sound rows (SOUND_SPEC.md §4.2). Late-bound like the camera framer: the panel is built before the audio engine exists, and the engine lives in a layer the UI may not import.

    interface LayersAudioPort {
        setNodeMuted(path: string, muted: boolean): void;
        setNodeGain(path: string, gain: number): void;
    }
    Index
    • Mute path (a sound node) or every sound node under it (a group). The eye of a parent group therefore silences its sounds, as it hides its geometry.

      Parameters

      • path: string
      • muted: boolean

      Returns void

    • Live per-node linear gain, [0, 2].

      Parameters

      • path: string
      • gain: number

      Returns void