AudioListener QML Type▲
-
Import Statement: import QtQuick3D.SpatialAudio
-
Group: AudioListener is part of quick3d_spatialaudio, multimedia_audio_qml
Detailed Description▲
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.