本页内容

Qt Spatial Audio QML Types

用于 Qt Spatial Audio 支持 C++ API 的全部功能。

QML 类型

Qt Spatial Audio QML 类型旨在与 Qt Quick 3D配合使用。您可以在 .qml 文件中使用以下导入语句将其导入到您的应用程序中:

import QtQuick3D.SpatialAudio

AmbientSound

立体声叠加音效

AudioEngine

管理 3D 场景中的声音对象

AudioListener

定义聆听由 AudioEngine 定义的声音场的人的位置和方向

AudioRoom

SpatialSound

3D 空间中的声音对象

© 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.