Qt3DInput::QAnalogAxisInput Class
class Qt3DInput::QAnalogAxisInputUma entrada de eixo controlada por uma entrada analógica. O valor do eixo é controlado da mesma forma que uma entrada analógica tradicional, como um joystick. Mais...
| Cabeçalho: | #include <Qt3DInput/QAnalogAxisInput> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| No QML: | AnalogAxisInput |
| Herdado de: | Qt3DInput::QAbstractAxisInput |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.
Propriedades
- axis : int
Funções públicas
| QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr) | |
| int | axis() const |
Slots públicos
| void | setAxis(int axis) |
Sinais
| void | axisChanged(int axis) |
Documentação de propriedades
axis : int
Eixo para a entrada analógica.
Funções de acesso:
| int | axis() const |
| void | setAxis(int axis) |
Sinal de notificação:
| void | axisChanged(int axis) |
Veja também Qt3DInput::QMouseDevice::Axis.
Documentação das funções de membro
[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
Cria uma nova instância de `QAnalogAxisInput` com ` 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.