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

ButtonAxisInput QML Type

QML frontend for QButtonAxisInput C++ class. The axis value is controlled by buttons rather than a traditional analog input such as a joystick.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ButtonAxisInput QML Type

  • Import Statement: import Qt3D.Input 2.4

  • Since:: Qt 5.7

  • Instantiates:: QButtonAxisInput

Detailed Description

 

Property Documentation

 

acceleration : real

Specifies the rate at which the axis value changes when a button is held

buttons : list<var>

Specifies the buttons which control the axis

deceleration : list<var>

Specifies the rate at which the axis value returns to normal when a button is released

scale : real

Specifies how the axis output value is scaled. No scaling is applied by default so it defaults to 1.

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