Qt3DInput::QAxis Class
class Qt3DInput::QAxisQAxis almacena QAbstractAxisInputs utilizados para activar un evento de entrada. Más...
| Cabecera: | #include <QAxis> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | Axis |
| Hereda: | Qt3DCore::QNode |
| Status: | Obsoleto |
Propiedades
- value : float
Funciones 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 |
Señales
| void | valueChanged(float value) |
Documentación de Propiedades
[read-only] value : float
El valor del eje.
Funciones de acceso:
| float | value() const |
Señal del notificador:
| void | valueChanged(float value) |
Documentación de la función miembro
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Construye una nueva instancia de QAxis con el padre parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput Añade un input para el eje.
Véase también Qt3DInput::QAbstractAxisInput.
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::entradas
Devuelve el vector de todas las entradas añadidas al eje.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::eliminarEntrada
Elimina un input del eje.
Véase también 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.