Qt 5.9 | Qt 3D | QML Types | PickEvent QML Type

Qt 5.9.9 Reference Documentation

# 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.0
Instantiates: | QPickEvent

- List of all members, including inherited members

## Properties

- accepted : bool
- button : bool
- buttons : bool
- distance : bool
- localIntersection : bool
- modifiers : bool
- position : bool
- worldIntersection : bool

## Detailed Description

See also ObjectPicker and PickingSettings.

## Property Documentation

accepted : bool

Specifies if event has been accepted

button : bool

Specifies mouse button that caused the event

buttons : bool

Specifies state of the mouse buttons for the event

distance : bool

Specifies the distance of the hit to the camera

localIntersection : bool

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

modifiers : bool

Specifies state of the mouse buttons for the event

position : bool

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

worldIntersection : bool

Specifies the coordinates of the hit in world coordinate system