PickingSettings QML Type
PickingSettingsクラスは、エンティティのピッキングの処理方法を指定します。詳細...
Import Statement: | import Qt3D.Render 2.8 |
In C++: | QPickingSettings |
Status: | Deprecated |
プロパティ
- faceOrientationPickingMode : enumeration
- pickMethod : enumeration
- pickResultMode : enumeration
- worldSpaceTolerance : real
詳細説明
ピッキング設定は、エンティティピッキングの処理方法を決定します。エンティティピッキングの詳細については、Qt3D.Render::ObjectPickerまたはQt3D.Render::RayCasterコンポーネントのドキュメントを参照してください。
ObjectPicker コンポーネントを使用している場合、ピッキングはマウスイベントによってトリガーされます。
RayCaster またはScreenRayCaster コンポーネントを使用する場合、ピッキングはアプリケーションによって明示的にトリガーされます。
どちらの場合も、レイはシーンを通してキャストされ、レイと交差するジオメトリを見つけます。
ObjectPicker 、RayCaster 、ScreenRayCasterも参照してください 。
プロパティ ドキュメント
faceOrientationPickingMode : enumeration |
面の向きが三角形のピッキングにどのように影響するかを指定します。
- PickingSettingsFrontFace.正面を向いた三角形のみがピックされます(デフォルト)。
- PickingSettings.BackFace 裏向きの三角形のみがピックされます。
- PickingSettings.FrontAndBackFace 前面と背面の両方の三角形がピックされます。
pickMethod : enumeration |
現在のピック方法を保持します。
- PickingSettings.BoundingVolumePicking
- PickingSettings.TrianglePicking
- PickingSettings.LinePicking
- PickingSettings.PointPicking
- PickingSettings.PrimitivePicking: 点、線、三角形のいずれかをピックします。
Qt3DRender::QPickingSettings::PickMethodも参照してください 。
pickResultMode : enumeration |
現在のピック結果モードを保持します。
- PickingSettings.NearestPick
- PickingSettings.AllPicks
- PickingSettings.NearestPriorityPick
Qt3DRender::QPickingSettings::PickResultModeも参照して ください。
worldSpaceTolerance : real |
線と点のピックを評価するために使用される、モデル空間座標でのしきい値を保持します。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.