AudioListener:forwardY 属性
AudioListener
接口的 forwardY
只读属性是一个 AudioParam
,表示定义监听者指向的前进方向的方向向量的 y 值。
备注:
当与 PannerNode
一起使用时,如果 panningModel
设置为 equalpower,则参数为 a-rate;否则为 k-rate。
值
一个 AudioParam
。其默认值为 0,范围可在正负无穷之间。
示例
查看 BaseAudioContext.createPanner() 以获取示例代码。
规范
Specification |
---|
Web Audio API # dom-audiolistener-forwardy |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
forwardY |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.