QPickingProxy Class
class Qt3DRender::QPickingProxyピッキングにのみ使用される別のQGeometryViewを提供するために使用できます。詳細...
ヘッダー | #include <QPickingProxy> |
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 を構築する。
© 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.