Qt3DRender::QPickingProxy Class
class Qt3DRender::QPickingProxyピック操作専用に、別の QGeometryView を指定するために使用できます。詳細...
| ヘッダー: | #include <qpickingproxy.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 以下のように: | Qt 6.0 以降 |
| QML における: | PickingProxy |
| 継承元: | Qt3DCore::QBoundingVolume |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨されません。
パブリック関数
| QPickingProxy(Qt3DCore::QNode *parent = nullptr) |
詳細な説明
ピッキングは、特にメッシュの頂点数が多い場合、処理負荷が高くなることがあります。QPickProxy を使用すると、通常はプリミティブ数が少ない代替ジオメトリを提供し、これをピッキングに使用することができます。一方、GeometryRenderer インスタンスはレンダリングに使用されます。
注: アプリケーションで、ピッキング座標がレンダリングされたメッシュと一致する必要がある場合は、QPickingProxy を使用しないでください 。
注: ピッキングアルゴリズムは 、バウンディングボリューム階層を使用して、バウンディングボリュームがピッキングレイと交差しないエンティティを最適化します。その階層では、プロキシのバウンディングボリュームではなく、レンダリングされるエンティティのバウンディングボリューム(または QBoundingVolume コンポーネントを使用して明示的に設定されたもの)が使用されます。
メンバ関数のドキュメント
[explicit] QPickingProxy::QPickingProxy(Qt3DCore::QNode *parent = nullptr)
parent を使用して、新しい QPickingProxy を作成します。
© 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.