Qt3DInput::QAxis Class
class Qt3DInput::QAxisO QAxis armazena objetos QAbstractAxisInputs usados para acionar um evento de entrada. Mais...
| Cabeçalho: | #include <qaxis.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| No QML: | Axis |
| Herdado de: | Qt3DCore::QNode |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.
Propriedades
- value : float
Funções públicas
| QAxis(Qt3DCore::QNode *parent = nullptr) | |
| void | addInput(Qt3DInput::QAbstractAxisInput *input) |
| QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
| void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
| float | value() const |
Sinais
| void | valueChanged(float value) |
Documentação das propriedades
[read-only] value : float
O valor do eixo.
Funções de acesso:
| float | value() const |
Sinal do Notifier:
| void | valueChanged(float value) |
Documentação das funções de membro
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Cria uma nova instância de QAxis com o pai parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput Adiciona um objeto ` input ` ao eixo.
Veja também Qt3DInput::QAbstractAxisInput.
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
Retorna um vetor com todas as entradas adicionadas ao eixo.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
Remove um objeto ` input ` do eixo.
Veja também Qt3DInput::QAbstractAxisInput.
© 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.