DebugView QML Type

View to show render statistics. 更多...

import 语句: import QtQuick3D.Helpers
继承: Rectangle

特性

详细描述

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
}
					

特性文档编制

source : var

Specifies the source View3D to show the statistics from.