summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/Planet.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/planets-qml/Planet.qml')
-rw-r--r--examples/qt3d/planets-qml/Planet.qml12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/qt3d/planets-qml/Planet.qml b/examples/qt3d/planets-qml/Planet.qml
index 231cd7bac..bbec74444 100644
--- a/examples/qt3d/planets-qml/Planet.qml
+++ b/examples/qt3d/planets-qml/Planet.qml
@@ -51,7 +51,7 @@
import Qt3D.Render 2.0
import Qt3D.Extras 2.0
-SphereMesh {
+GeometryRenderer {
property real r: 0
property real x: 0
property real y: 0
@@ -59,8 +59,10 @@ SphereMesh {
property real roll: 0
property real tilt: 0
- radius: 1.0
- generateTangents: true
- rings: 64
- slices: 64
+ view: SphereMesh {
+ radius: 1.0
+ generateTangents: true
+ rings: 64
+ slices: 64
+ }
}