AudioListener QML Type

defines the position and orientation of the person listening to a sound field defined by a AudioEngine . 更多...

import 语句: import QtQuick3D.SpatialAudio

详细描述

A AudioEngine can have exactly one listener, that defines the position and orientation of the person listening to the sounds defined by the objects placed within the audio engine.

In most cases, the AudioListener should simply be a child of the Camera element in QtQuick3D . This will ensure that the sound experience is aligned with the visual rendering of the scene.