AudioListener QML Type
定义了聆听由AudioEngine 定义的声音场的人的位置和方向。更多内容...
| Import Statement: | import QtQuick3D.SpatialAudio |
详细描述
一个AudioEngine 可以拥有且仅有一个监听器,该监听器定义了聆听由音频引擎内放置的对象所定义的声音的人的位置和方向。
在大多数情况下,AudioListener 只需作为QtQuick3D 中 Camera 元素的子元素即可。这将确保声音体验与场景的视觉渲染保持一致。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.