You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

2 years ago
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">
Contiene i metodi per impostare un [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].<br /><br />
Usato internamente dalle classi [page:AudioListener AudioListener] e [page:AudioLoader AudioLoader].<br /><br />
Utilizza le [link:https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API API Web Audio].
</p>
<h2>Metodi</h2>
<h3>[method:AudioContext getContext]()</h3>
<p>
Restituisce il valore della variabile `context` nell'ambito esterno, se definito,
altrimenti lo imposta in un nuovo [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].
</p>
<h3>[method:AudioContext setContext]( [param:AudioContext value] )</h3>
<p>
Imposta la varibile `context` nell'ambito esterno su `value`.
</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>