Qt3DRender::QFrustumCulling Class
class Qt3DRender::QFrustumCullingFrameGraph でフラスタムカリングを有効にします。詳細...
| ヘッダー: | #include <qfrustumculling.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML内: | FrustumCulling |
| 継承元: | Qt3DRender::QFrameGraphNode |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
パブリック関数
| QFrustumCulling(Qt3DCore::QNode *parent = nullptr) |
詳細な説明
QFrustumCulling クラスは、カメラのビューおよびエンティティの QGeometry バウンズに基づいて、描画可能なエンティティのフラスタムカリングを可能にします。FrameGraph に QFrustumCulling が存在する場合、QGeometry バウンズがカメラのフラスタム(すなわちカメラの視野)と交差するエンティティのみが描画されます。 QFrustumCulling が存在しない場合、描画可能なエンティティはすべて描画されます。カメラは、現在の階層にあるQCameraSelector フレームグラフノードによって選択されます。レンダリングされるシーンが複雑な場合、フラスタムカリングにより GPU の処理時間を大幅に節約できます。
「QCameraSelector」も参照してください 。
メンバ関数のドキュメント
[explicit] QFrustumCulling::QFrustumCulling(Qt3DCore::QNode *parent = nullptr)
このコンストラクタは、指定されたparent を使用してインスタンスを作成します。
© 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.