IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QAnalogAxisInput Class

An axis input controlled by an analog input The axis value is controlled like a traditional analog input such as a joystick.

This class was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAnalogAxisInput Class

  • Header: Qt3DInput/QAnalogAxisInput

  • Since: Qt 5.7

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3dinput)

    target_link_libraries(mytarget PRIVATE Qt6::3dinput)

  • qmake: QT += 3dinput

  • Inherited By:

  • Instantiated By: qml-qt3d-input-analogaxisinput.xml

  • Inherits: Qt3DInput::QAbstractAxisInput

Detailed Description

 

Property Documentation

 

axis : int

Axis for the analog input.

Access functions:

  • int axis() const

  • void setAxis(int axis)

Notifier signal:

  • void axisChanged(int axis)

See Also

Member Function Documentation

 

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

Constructs a new QAnalogAxisInput instance with parent.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+