Sur cette page

Qt3DInput::QAnalogAxisInput Class

class Qt3DInput::QAnalogAxisInput

Une entrée d'axe contrôlée par une entrée analogique La valeur de l'axe est contrôlée comme une entrée analogique traditionnelle telle qu'un joystick. Plus d'informations...

En-tête : #include <Qt3DInput/QAnalogAxisInput>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake : QT += 3dinput
En QML : AnalogAxisInput
Hérite : Qt3DInput::QAbstractAxisInput
Statut : Déclassé

Propriétés

Fonctions publiques

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

Emplacements publics

void setAxis(int axis)

Signaux

void axisChanged(int axis)

Description détaillée

Propriété Documentation

axis : int

Axe pour l'entrée analogique.

Fonctions d'accès :

int axis() const
void setAxis(int axis)

Signal de notification :

void axisChanged(int axis)

Voir aussi Qt3DInput::QMouseDevice::Axis.

Documentation des fonctions membres

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

Construit une nouvelle instance de QAnalogAxisInput avec 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.