summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/bigmodel-qml/MyEntity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/bigmodel-qml/MyEntity.qml')
-rw-r--r--examples/qt3d/bigmodel-qml/MyEntity.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/qt3d/bigmodel-qml/MyEntity.qml b/examples/qt3d/bigmodel-qml/MyEntity.qml
index 3e30b2fd3..df0dbd13d 100644
--- a/examples/qt3d/bigmodel-qml/MyEntity.qml
+++ b/examples/qt3d/bigmodel-qml/MyEntity.qml
@@ -39,13 +39,11 @@ import Qt3D.Render 2.0
Entity {
id: root
- property alias x: translation.dx
- property alias y: translation.dy
- property alias z: translation.dz
+ property alias position: transform.translation
property alias diffuse: material.diffuse
components: [
- Transform { Translate { id: translation } },
+ Transform { id: transform },
SphereMesh { radius: 2 },
PhongMaterial { id: material }
]