En esta página

Qt3DRender::QDebugOverlay Class

class Qt3DRender::QDebugOverlay

Activa una superposición visual con detalles de la escena. Más...

Encabezado: #include <qdebugoverlay.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: DebugOverlay
Heredado de: Qt3DRender::QFrameGraphNode
Estado: Obsoleto

Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.

Funciones públicas

QDebugOverlay(Qt3DCore::QNode *parent = nullptr)

Descripción detallada

Colocar un QDebugOverlay en una rama de un framegraph personalizado hará que se represente una superposición con detalles de la escena junto con la propia escena.

El QForwardRenderer estándar incluye un nodo QDebugOverlay que se puede activar mediante la propiedad QForwardRenderer::showDebugOverlay.

Documentación de las funciones miembro

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

El constructor crea una instancia con el ` 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.