En esta página

Qt3DInput::QAnalogAxisInput Class

class Qt3DInput::QAnalogAxisInput

Una entrada de eje controlada por una entrada analógica El valor del eje se controla como una entrada analógica tradicional, como un joystick. Más...

Cabecera: #include <Qt3DInput/QAnalogAxisInput>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
En QML: AnalogAxisInput
Hereda: Qt3DInput::QAbstractAxisInput
Status: Obsoleto

Propiedades

Funciones públicas

QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
int axis() const

Ranuras públicas

void setAxis(int axis)

Señales

void axisChanged(int axis)

Descripción detallada

Documentación de propiedades

axis : int

Eje para la entrada analógica.

Funciones de acceso:

int axis() const
void setAxis(int axis)

Señal notificadora:

void axisChanged(int axis)

Véase también Qt3DInput::QMouseDevice::Axis.

Documentación de las funciones miembro

[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)

Construye una nueva instancia 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.