PickingSettings QML Type
The PickingSettings class specifies how entity picking is handled. More...
| Import Statement: | import Qt3D.Render 2.0 | 
| Since: | Qt 5.7 | 
| Instantiates: | QPickingSettings | 
Properties
- faceOrientationPickingMode : enumeration
 - pickMethod : enumeration
 - pickResultMode : enumeration
 
Detailed Description
The picking settings determine how the entity picking is handled. For more details about entity picking, see Qt3DRender::QObjectPicker component documentation.
Picking is triggered by mouse events. It will cast a ray through the scene and look for geometry intersecting the ray.
See also ObjectPicker.
Property Documentation
faceOrientationPickingMode : enumeration
Specifies how face orientation affects triangle picking
- PickingSettings.FrontFace Only front-facing triangles will be picked (default).
 - PickingSettings.BackFace Only back-facing triangles will be picked.
 - PickingSettings.FrontAndBackFace Both front- and back-facing triangles will be picked.
 
pickMethod : enumeration
Holds the current pick method.
- PickingSettings.BoundingVolumePicking
 - PickingSettings.TrianglePicking
 
See also Qt3DRender::QPickingSettings::PickMethod.
pickResultMode : enumeration
Holds the current pick results mode.
- PickingSettings.NearestPick
 - PickingSettings.AllPicks
 
See also Qt3DRender::QPickingSettings::PickResultMode.
    © The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
    https://doc.qt.io/qt-5.9/qml-qt3d-render-pickingsettings.html