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

MouseEvent QML Type

Provides parameters that describe a mouse event.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

MouseEvent QML Type

  • Import Statement: import Qt3D.Input 2.4

  • Since:: Qt 5.5

  • Instantiates:: QMouseEvent

Detailed Description

Mouse events occur when a mouse button is pressed and the ray traversing the view, originating from the mouse position intersects with one or more elements of the scene.

See Also

Property Documentation

 

accepted : bool

Specifies if the mouse event has been accepted

[read-only] button : Buttons

Specifies the button triggering the mouse event

[read-only] buttons : int

Specifies the button triggering the mouse event

[read-only] modifiers : Modifiers

Specifies if any modifiers were applied to the mouse event

[read-only] wasHeld : bool

Specifies if a mouse button was held down during the mouse event

[read-only] x : int

Specifies The X coordinate of the mouse event

[read-only] y : int

Specifies The Y coordinate of the mouse event

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