QDebugOverlay Class

class Qt3DRender::QDebugOverlay

シーン詳細のビジュアルオーバーレイを有効にします。もっと見る

ヘッダー #include <QDebugOverlay>
CMake.CMake.CMメイク find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake QT += 3drender
QML で DebugOverlay
を継承しています: Qt3DRender::QFrameGraphNode
ステータス非推奨

パブリック関数

QDebugOverlay(Qt3DCore::QNode *parent = nullptr)

詳細説明

QDebugOverlay をカスタムフレームグラフの 1 つのブランチに配置すると、シーンの詳細を含むオーバーレイがシーンと共にレンダリングされます。

標準の QForwardRenderer には QDebugOverlay ノードが含まれており、QForwardRenderer::showDebugOverlay プロパティによって有効にすることができます。

メンバ関数のドキュメント

[explicit] QDebugOverlay::QDebugOverlay(Qt3DCore::QNode *parent = nullptr)

コンストラクタは、指定されたparent を持つインスタンスを作成します。

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