Qt3DInput::QAnalogAxisInput Class
class Qt3DInput::QAnalogAxisInputEine Achse, die über einen analogen Eingang gesteuert wird. Der Achsenwert wird wie bei einem herkömmlichen analogen Eingang, beispielsweise einem Joystick, gesteuert. Mehr...
| Header: | #include <Qt3DInput/QAnalogAxisInput> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | AnalogAxisInput |
| Erbt von: | Qt3DInput::QAbstractAxisInput |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Eigenschaften
- axis : int
Öffentliche Funktionen
| QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr) | |
| int | axis() const |
Öffentliche Slots
| void | setAxis(int axis) |
Signale
| void | axisChanged(int axis) |
Eigenschaftsdokumentation
axis : int
Achse für den analogen Eingang.
Zugriffsfunktionen:
| int | axis() const |
| void | setAxis(int axis) |
Benachrichtigungssignal:
| void | axisChanged(int axis) |
Siehe auch Qt3DInput::QMouseDevice::Axis.
Dokumentation der Member-Funktionen
[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
Erstellt eine neue Instanz von `QAnalogAxisInput` mit den Parametern ` parent`.
© 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.