diff options
Diffstat (limited to 'examples/qt3d/simplecustommaterial/PlaneModel.qml')
-rw-r--r-- | examples/qt3d/simplecustommaterial/PlaneModel.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/qt3d/simplecustommaterial/PlaneModel.qml b/examples/qt3d/simplecustommaterial/PlaneModel.qml index b5271fe0c..bc95f8600 100644 --- a/examples/qt3d/simplecustommaterial/PlaneModel.qml +++ b/examples/qt3d/simplecustommaterial/PlaneModel.qml @@ -67,10 +67,12 @@ Entity { rotationX: 45 } - PlaneMesh { + GeometryRenderer { id: mesh - width: 1.0 - height: 1.0 - meshResolution: Qt.size(2, 2) + view: PlaneMesh { + width: 1.0 + height: 1.0 + meshResolution: Qt.size(2, 2) + } } } |