Qt3DInput::QAnalogAxisInput Class
class Qt3DInput::QAnalogAxisInputUna entrada de eje controlada por una entrada analógica. El valor del eje se controla igual que una entrada analógica tradicional, como un joystick. Más información...
| Encabezado: | #include <Qt3DInput/QAnalogAxisInput> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | AnalogAxisInput |
| Heredado de: | Qt3DInput::QAbstractAxisInput |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
Propiedades
- axis : int
Funciones públicas
| QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr) | |
| int | axis() const |
Ranuras públicas
| void | setAxis(int axis) |
Señales
| void | axisChanged(int axis) |
Documentación de propiedades
axis : int
Eje de la entrada analógica.
Funciones de acceso:
| int | axis() const |
| void | setAxis(int axis) |
Señal de notificación:
| void | axisChanged(int axis) |
Véase también Qt3DInput::QMouseDevice::Axis.
Documentación de funciones de miembro
[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
Crea una nueva instancia de `QAnalogAxisInput` con ` 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.