PickingSettings QML Type

The PickingSettings class specifies how entity picking is handled. 更多...

import 語句: import Qt3D.Render 2.12
Since: Qt 5.7
實例化: QPickingSettings

特性

詳細描述

The picking settings determine how the entity picking is handled. For more details about entity picking, see Qt3D.Render::ObjectPicker or Qt3D.Render::RayCaster component documentation.

當使用 ObjectPicker components, picking is triggered by mouse events.

當使用 RayCaster or ScreenRayCaster components, picking can be explicitly triggered by the application.

In both cases, a ray will be cast through the scene to find geometry intersecting the ray.

另請參閱 ObjectPicker , RayCaster ,和 ScreenRayCaster .

特性文檔編製

faceOrientationPickingMode : enumeration

Specifies how face orientation affects triangle picking

pickMethod : enumeration

Holds the current pick method.

另請參閱 Qt3DRender::QPickingSettings::PickMethod .

pickResultMode : enumeration

Holds the current pick results mode.

另請參閱 Qt3DRender::QPickingSettings::PickResultMode .

worldSpaceTolerance : qreal

Holds the threshold, in model space coordinates, used to evaluate line and point picking.