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
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.
Holds the current pick method.
- PickingSettings.BoundingVolumePicking
- PickingSettings.TrianglePicking
See also Qt3DRender::QPickingSettings::PickMethod.
Holds the current pick results mode.
- PickingSettings.NearestPick
- PickingSettings.AllPicks