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.

16 lines (15 loc) 451 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 _engine; private _style; /** @internal */ constructor(engine: _WebAudioEngine, parentElement?: HTMLElement); /** @internal */ dispose(): void; private _onStateChanged; }