diff options
Diffstat (limited to 'examples/qt3d/gooch-qml')
-rw-r--r-- | examples/qt3d/gooch-qml/MyEntity.qml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/qt3d/gooch-qml/MyEntity.qml b/examples/qt3d/gooch-qml/MyEntity.qml index 49c5cf143..6e057c3ed 100644 --- a/examples/qt3d/gooch-qml/MyEntity.qml +++ b/examples/qt3d/gooch-qml/MyEntity.qml @@ -39,18 +39,13 @@ 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 scale: scaleTransform.scale + property alias position: transform.translation + property alias scale: transform.scale property alias material: gooch property alias source: mesh.source components: [ - Transform { - Translate { id: translation } - Scale{ id: scaleTransform } - }, + Transform { id: transform }, Mesh { id: mesh }, GoochMaterial { id: gooch } ] |