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. More...

Import Statement: import Qt3D.Render 2.12
Instantiates: QPickEvent

Properties

Detailed Description

See also ObjectPicker and PickingSettings.

Property Documentation

accepted : bool

Specifies if event has been accepted


button : int

Specifies mouse button that caused the event


buttons : int

Specifies state of the mouse buttons for the event


distance : real

Specifies the distance of the hit to the camera


localIntersection : Vector3D

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


modifiers : int

Specifies state of the mouse buttons for the event


position : Point2D

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


worldIntersection : Vector3D

Specifies the coordinates of the hit in world coordinate system


© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.