Nesta página

Qt3DRender::QDebugOverlay Class

class Qt3DRender::QDebugOverlay

Ativa uma sobreposição visual com detalhes da cena. Mais...

Cabeçalho: #include <qdebugoverlay.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
No QML: DebugOverlay
Herdado de: Qt3DRender::QFrameGraphNode
Status: Obsoleta

Esta classe está obsoleta. Recomendamos enfaticamente que não seja utilizada em código novo.

Funções públicas

QDebugOverlay(Qt3DCore::QNode *parent = nullptr)

Descrição detalhada

Colocar um QDebugOverlay em um ramo de um framegraph personalizado fará com que uma sobreposição com detalhes da cena seja renderizada junto com a cena.

O QForwardRenderer padrão inclui um nó QDebugOverlay que pode ser ativado por meio da propriedade QForwardRenderer::showDebugOverlay.

Documentação das funções de membro

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

O construtor cria uma instância com o ` parent` especificado.

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