DebugView QML Type

View to show render statistics. More...

Import Statement: import QtQuick3D.Helpers 1.0
Inherits:

Rectangle

Properties

Detailed Description

This helper allows viewing render performance statistics of a View3D. It shows the FPS, sync and render times.

For example, the following snippet shows how a DebugView can be added that shows its information in the top-left corner of the Qt Quick scene:

View3D {
    id: v3d
    anchors.fill: parent
    camera: camera
    PerspectiveCamera {
        id: camera
        position: Qt.vector3d(0, 0, 600)
    }
    ...
}
DebugView {
    source: v3d
}

Property Documentation

source : var

Specifies the source View3D to show the statistics from.


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