PickEvent QML Type | Qt 3D 5.13.2

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

Qt 5.13.2 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.13

- List of all members, including inherited members

## Properties

- accepted : bool
- button : int
- buttons : int
- distance : real
- localIntersection : Vector3D
- modifiers : int
- position : Point2D
- worldIntersection : Vector3D

## 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