Qt3DInput::QLogicalDevice Class
class Qt3DInput::QLogicalDeviceMit QLogicalDevice kann der Benutzer eine Reihe von Aktionen definieren, die er innerhalb einer Anwendung nutzen möchte. Mehr...
| Überschrift: | #include <qlogicaldevice.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | LogicalDevice |
| Erbt von: | Qt3DCore::QComponent |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Ö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) |
Dokumentation zu den Mitgliedsfunktionen
[explicit] QLogicalDevice::QLogicalDevice(Qt3DCore::QNode *parent = nullptr)
Erstellt eine neue QLogicalDevice-Instanz mit dem übergeordneten Gerät „ 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 „ 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)
Eine „ action “-Aktion aus der Liste der Aktionen entfernen.
void QLogicalDevice::removeAxis(Qt3DInput::QAxis *axis)
Entfernen Sie einen „ axis “ aus der Liste der Achsen.
© 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.