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
44 lines
1.2 KiB
2 years ago
|
<!DOCTYPE html>
|
||
|
<html lang="fr">
|
||
|
<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">
|
||
|
Contient des méthodes afin de configurer un [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].<br /><br />
|
||
|
|
||
|
Utilisé en interne par les classes [page:AudioListener AudioListener] et [page:AudioLoader AudioLoader] classes.<br /><br />
|
||
|
|
||
|
La [link:https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API Web Audio API] est utilisée.
|
||
|
</p>
|
||
|
|
||
|
|
||
|
|
||
|
<h2>Méthodes</h2>
|
||
|
|
||
|
<h3>[method:AudioContext getContext]()</h3>
|
||
|
<p>
|
||
|
Renvoie la valeur de la variable `context` dans la portée extérieure, si elle est définie,
|
||
|
sinon lui assigne un nouvel [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].
|
||
|
</p>
|
||
|
|
||
|
<h3>[method:AudioContext setContext]( [param:AudioContext value] )</h3>
|
||
|
<p>
|
||
|
Met la variable `context` dans la portée extérieure à `value`.
|
||
|
</p>
|
||
|
|
||
|
|
||
|
<h2>Source</h2>
|
||
|
|
||
|
<p>
|
||
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
||
|
</p>
|
||
|
</body>
|
||
|
</html>
|