| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>AudioContext - Three.js Docs</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
- <script src="../scripts/highlight.min.js"></script>
- <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
- <link type="text/css" rel="stylesheet" href="../styles/page.css">
- </head>
- <body>
- <h1 translate="no">AudioContext</h1>
- <section>
- <header>
- <div class="class-description"><p>Manages the global audio context in the engine.</p></div>
- </header>
- <article>
- <div class="container-overview">
- <div class="method">
- </div>
- </div>
- <h2 class="subsection-title">Static Methods</h2>
- <h3 class="name name-method" id=".getContext" translate="no">.<a href="#.getContext">getContext</a><span class="signature">()</span><span class="type-signature"> : <a href="AudioContext.html">AudioContext</a></span> </h3>
- <div class="method">
- <div class="description">
- <p>Returns the global native audio context.</p>
- </div>
- <dl class="details">
- <dt class="tag-returns"><strong>Returns:</strong> The native audio context.</dt>
- </dl>
- </div>
- <h3 class="name name-method" id=".setContext" translate="no">.<a href="#.setContext">setContext</a><span class="signature">( value : <span class="param-type"><a href="AudioContext.html">AudioContext</a></span> )</span> </h3>
- <div class="method">
- <div class="description">
- <p>Allows to set the global native audio context from outside.</p>
- </div>
- <table class="params">
- <tbody>
- <tr>
- <td class="name">
- <strong>value</strong>
- </td>
- <td class="description last">
- <p>The native context to set.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/audio/AudioContext.js" translate="no" target="_blank" rel="noopener">src/audio/AudioContext.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|