UNPKG

@types/three

Version:
20 lines (19 loc) 482 B
/** * Manages the global audio context in the engine. * * @hideconstructor */ export class AudioContext { /** * Returns the global native audio context. * * @return {AudioContext} The native audio context. */ static getContext(): AudioContext; /** * Allows to set the global native audio context from outside. * * @param {AudioContext} value - The native context to set. */ static setContext(value: AudioContext): void; }