In questa pagina

Qt3DRender::QDebugOverlay Class

class Qt3DRender::QDebugOverlay

Attiva una sovrapposizione visiva con i dettagli della scena. Altro...

Intestazione: #include <qdebugoverlay.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
In QML: DebugOverlay
Eredita da: Qt3DRender::QFrameGraphNode
Stato: Obsoleto

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.

Funzioni pubbliche

QDebugOverlay(Qt3DCore::QNode *parent = nullptr)

Descrizione dettagliata

Inserendo un QDebugOverlay in un ramo di un framegraph personalizzato, verrà renderizzato un overlay con i dettagli della scena insieme alla scena stessa.

Il QForwardRenderer standard include un nodo QDebugOverlay che può essere abilitato tramite la proprietà QForwardRenderer::showDebugOverlay.

Documentazione delle funzioni membro

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

Il costruttore crea un'istanza con l'parent e specificata.

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