本页内容

QtQuick3D.SpatialAudio QML Types

Spatial Audio 支持的 QML 类型涵盖了以下基本用例:

  • 让人物在三维空间中聆听声音,
  • 在三维空间中放置声源,
  • 支持包含直接反射和混响的房间声学效果,
  • 支持立体声叠加声源(例如用于音轨)。
  • 支持通过双耳(虚拟 3D)声场渲染将声音输出至耳机
  • 支持输出至立体声或环绕声扬声器配置

QML 类型

您可以通过在 .qml 文件中使用以下导入语句,将 Qt Quick3D Qt Spatial Audio QML 类型导入到您的应用程序中:

import QtQuick3D.Audio

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