summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/lights/PlaneEntity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/lights/PlaneEntity.qml')
-rw-r--r--examples/qt3d/lights/PlaneEntity.qml15
1 files changed, 6 insertions, 9 deletions
diff --git a/examples/qt3d/lights/PlaneEntity.qml b/examples/qt3d/lights/PlaneEntity.qml
index 1e84543f6..268c59add 100644
--- a/examples/qt3d/lights/PlaneEntity.qml
+++ b/examples/qt3d/lights/PlaneEntity.qml
@@ -61,17 +61,14 @@ Entity {
property alias resolution: mesh.meshResolution
property Material material
- components: [ transform, renderer, root.material ]
+ components: [ transform, mesh, root.material ]
Transform { id: transform }
- GeometryRenderer {
- id: renderer
- view: PlaneMesh {
- id: mesh
- width: 1.0
- height: 1.0
- meshResolution: Qt.size(2, 2)
- }
+ PlaneMesh {
+ id: mesh
+ width: 1.0
+ height: 1.0
+ meshResolution: Qt.size(2, 2)
}
}