AudioListener: forwardZ property
The forwardZ
read-only property of the AudioListener
interface is an AudioParam
representing the z value of the direction vector defining the forward direction the listener is pointing in.
Note: The parameter is a-rate when used with a PannerNode
whose panningModel
is set to equalpower, or k-rate otherwise.
Value
An AudioParam
. Its default value is -1, and it can range between positive and negative infinity.
Examples
Specifications
Browser compatibility
|
Desktop |
Mobile |
|
Chrome |
Edge |
Firefox |
Internet Explorer |
Opera |
Safari |
WebView Android |
Chrome Android |
Firefox for Android |
Opera Android |
Safari on IOS |
Samsung Internet |
forwardZ |
52 |
79 |
NoSupports a deprecated way of setting orientation - the setOrientation() method.
|
No |
39 |
14.1 |
52 |
52 |
NoSupports a deprecated way of setting orientation - the setOrientation() method.
|
41 |
14.5 |
6.0 |
See also