QLogicalDevice Class

class Qt3DInput::QLogicalDevice

QLogicalDevice ermöglicht es dem Benutzer, eine Reihe von Aktionen zu definieren, die er innerhalb einer Anwendung verwenden möchte. Mehr...

Kopfzeile: #include <QLogicalDevice>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
In QML: LogicalDevice
Vererbt: Qt3DCore::QComponent
Status: Veraltet

Öffentliche Funktionen

QLogicalDevice(Qt3DCore::QNode *parent = nullptr)
QList<Qt3DInput::QAction *> actions() const
void addAction(Qt3DInput::QAction *action)
void addAxis(Qt3DInput::QAxis *axis)
QList<Qt3DInput::QAxis *> axes() const
void removeAction(Qt3DInput::QAction *action)
void removeAxis(Qt3DInput::QAxis *axis)

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

[explicit] QLogicalDevice::QLogicalDevice(Qt3DCore::QNode *parent = nullptr)

Konstruiert eine neue QLogicalDevice-Instanz mit übergeordnetem parent.

QList<Qt3DInput::QAction *> QLogicalDevice::actions() const

Gibt die Liste der Aktionen zurück.

void QLogicalDevice::addAction(Qt3DInput::QAction *action)

Fügen Sie der Liste der Aktionen eine action hinzu.

void QLogicalDevice::addAxis(Qt3DInput::QAxis *axis)

Fügen Sie der Liste der Achsen eine axis hinzu.

QList<Qt3DInput::QAxis *> QLogicalDevice::axes() const

Gibt die Liste der Achsen zurück.

void QLogicalDevice::removeAction(Qt3DInput::QAction *action)

Entfernen Sie eine action aus der Liste der Aktionen.

void QLogicalDevice::removeAxis(Qt3DInput::QAxis *axis)

Entfernen Sie eine axis aus der Liste der Achsen.

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