audio.AudioListener

AudioListener

package js-html-audio

Available on js

It is important to note that there is only one listener per context and that it isn't an AudioNode-

Documentation AudioListener by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

dopplerFactor:Float

speedOfSound:Float

Methods

setOrientation (x:Float, y:Float, z:Float, xUp:Float, yUp:Float, zUp:Float):Void

Sets the orientation of the listener.

setPosition (x:Float, y:Float, z:Float):Void

Sets the position of the listener. See Deprecated features to learn why this method was removed.

setVelocity (x:Float, y:Float, z:Float):Void

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/audio/AudioListener.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部