summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3d/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene3d/main.qml')
-rw-r--r--examples/qt3d/scene3d/main.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/qt3d/scene3d/main.qml b/examples/qt3d/scene3d/main.qml
index 6d5617ca3..f7ba24ab4 100644
--- a/examples/qt3d/scene3d/main.qml
+++ b/examples/qt3d/scene3d/main.qml
@@ -151,6 +151,27 @@ Item {
}
}
+ Rectangle {
+ radius: 10
+ color: "#aaffffff"
+ border.width: 1
+ border.color: "black"
+ width: childrenRect.width + anchors.margins
+ height: childrenRect.height + anchors.margins
+ anchors.bottom: parent.bottom
+ anchors.left: parent.left
+ anchors.margins: 20
+ visible: rootEntity.validBounds
+
+ Column {
+ x: parent.anchors.margins / 2
+ y: x
+
+ Text { text: "Sphere:\n Min Extent: " + rootEntity.sphereMinPt }
+ Text { text: " Max Extent: " + rootEntity.sphereMaxPt }
+ }
+ }
+
SequentialAnimation {
id: animation