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

MouseDevice QML Type

Delegates mouse events to the attached MouseHandler objects.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

MouseDevice QML Type

  • Import Statement: import Qt3D.Input 2.4

  • Since:: Qt 5.5

  • Instantiates:: QMouseDevice

Detailed Description

A MouseDevice delegates mouse events from physical mouse device to MouseHandler objects. The sensitivity of the mouse can be controlled with the MouseDevice::sensitivity property, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.

See Also

See also MouseHandler

Property Documentation

 

sensitivity : real

Holds the current sensitivity of the mouse device. Default is 0.1.

[since 5.15] updateAxesContinuously : bool

If true, axes will be updated anytime they change regardless of whether any mouse button is being pressed. Otherwise, axes are updated only when one of the mouse buttons is being pressed.

The default value is false.

This property was introduced in Qt 5.15.

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