このページでは

PickingSettings QML Type

PickingSettings クラスは、エンティティのピッキング処理方法を指定します。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QPickingSettings
Status: Deprecated

この型は非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

ピッキング設定は、エンティティのピッキングがどのように処理されるかを決定します。エンティティのピッキングに関する詳細については、Qt3D.Render::ObjectPicker または Qt3D.Render::RayCaster コンポーネントのドキュメントを参照してください。

ObjectPicker コンポーネントを使用する場合、ピッキングはマウスイベントによってトリガーされます。

RayCaster またはScreenRayCaster コンポーネントを使用する場合、ピッキングはアプリケーション側から明示的にトリガーすることができます。

いずれの場合も、シーン内にレイが投射され、そのレイと交差するジオメトリが検索されます。

ObjectPicker 、RayCaster 、およびScreenRayCasterも参照してください 。

プロパティのドキュメント

faceOrientationPickingMode : enumeration

面の向きが三角形の選択にどのように影響するかを指定します

  • PickingSettings.FrontFace 前面を向いている三角形のみが選択されます(デフォルト)。
  • PickingSettings.BackFace 背面向きの三角形のみが選択されます。
  • PickingSettings.FrontAndBackFace 前面および背面の三角形がすべて選択されます。

pickMethod : enumeration

現在のピック方法を保持します。

Qt3DRender::QPickingSettings::PickMethodも参照してください 。

pickResultMode : enumeration

現在のピック結果モードを保持します。

Qt3DRender::QPickingSettings::PickResultModeも参照してください 。

worldSpaceTolerance : real

線や点の選択を評価するために使用される、モデル空間座標における閾値を保持します。

© 2026 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.