Qt3DInput::QInputAspect Class
class Qt3DInput::QInputAspectZuständig für die Erstellung physischer Geräte und die Bearbeitung der damit verbundenen Aufgaben. Mehr...
| Überschrift: | #include <qinputaspect.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| Erbt von: | Qt3DCore::QAbstractAspect |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Öffentliche Funktionen
| QInputAspect(QObject *parent = nullptr) | |
| QStringList | availablePhysicalDevices() const |
| Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) |
Ausführliche Beschreibung
QInputAspect ist für die Erstellung physischer Geräte zuständig. Außerdem ist dieses Objekt dafür verantwortlich, anhand der aktuellen Eingabekonfiguration die zu einem bestimmten Zeitpunkt auszuführenden Aufgaben festzulegen.
Dokumentation der Mitgliedsfunktionen
[explicit] QInputAspect::QInputAspect(QObject *parent = nullptr)
Erstellt ein neues `QInputAspect`-Objekt mit ` parent`.
QStringList QInputAspect::availablePhysicalDevices() const
Gibt eine Liste aller verfügbaren physischen Geräte zurück.
Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)
Erstellt ein physisches Gerät, das durch „ name “ identifiziert wird, unter Verwendung der vorhandenen Integrationen für Eingabegeräte. Wird das Gerät nicht gefunden, wird „ nullptr “ zurückgegeben.
Hinweis: Der Aufrufer ist für die Eigentumsrechte verantwortlich.
© 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.