Qt3DInput::QAxis Class
class Qt3DInput::QAxisQAxis almacena los objetos `QAbstractAxisInputs` que se utilizan para activar un evento de entrada. Más información...
| Encabezado: | #include <qaxis.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| En QML: | Axis |
| Heredado de: | Qt3DCore::QNode |
| Estado: | Obsoleto |
Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.
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 funciones de miembro
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Crea una nueva instancia de QAxis con el elemento padre parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput: añade un objeto ` input ` para el eje.
Véase también Qt3DInput::QAbstractAxisInput.
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
Devuelve un vector con todas las entradas añadidas al eje.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
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.