UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

22 lines (21 loc) 593 B
import type { _WebAudioEngine } from "./webAudioEngine.js"; /** * Adds a UI button that starts the audio engine's underlying audio context when the user presses it. * @internal */ export declare class _WebAudioUnmuteUI { private _button; private _enabled; private _engine; private _style; /** @internal */ constructor(engine: _WebAudioEngine, parentElement?: HTMLElement); /** @internal */ dispose(): void; /** @internal */ get enabled(): boolean; set enabled(value: boolean); private _show; private _hide; private _onStateChanged; }