Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquick3daudiolistener.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-3.0-only
6
8
33
35{
36 delete m_listener;
37}
38
43
48
\inmodule QtSpatialAudio
void setRotation(const QQuaternion &q)
Sets the listener's orientation in 3D space to q.
void setPosition(QVector3D pos)
Sets the listener's position in 3D space to pos.
static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
Definition qobject.cpp:2960
static QAudioEngine * getEngine()
QQuick3DAudioListener()
\qmltype AudioListener \inqmlmodule QtQuick3D.SpatialAudio
QVector3D scenePosition
void sceneRotationChanged()
void scenePositionChanged()
QQuaternion sceneRotation
Combined button and popup list for selecting options.