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

PickEvent QML Type

PickEvent holds information when an object is picked. This is received as a parameter in most of the QObjectPicker component signals when picking succeeds.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

PickEvent QML Type

  • Import Statement: import Qt3D.Render 2.12

  • Since: Qt 5.7

  • Instantiates:: QPickEvent

Detailed Description

 

See Also

Property Documentation

 

accepted : bool

Specifies if event has been accepted

[read-only] button : int

Specifies mouse button that caused the event

[read-only] buttons : int

Specifies state of the mouse buttons for the event

[read-only] distance : real

Specifies the distance of the hit to the camera

[read-only] localIntersection : Vector3D

Specifies the coordinates of the hit in the local coordinate system of the picked entity

[read-only] modifiers : int

Specifies state of the mouse buttons for the event

[read-only] position : Point2D

Specifies the mouse position with respect to the render area (window or quick item)

[read-only] worldIntersection : Vector3D

Specifies the coordinates of the hit in world coordinate system

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