| 1 |
// Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). |
| 2 |
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 |
|
| 4 |
import Qt3D.Core 2.0 |
| 5 |
import Qt3D.Render 2.0 |
| 6 |
import Qt3D.Extras 2.0 |
| 7 |
|
| 8 |
Entity { |
| 9 |
id: root |
| 10 |
property alias position: transform.translation |
| 11 |
property alias scale: transform.scale |
| 12 |
property alias material: gooch |
| 13 |
property alias source: mesh.source |
| 14 |
|
| 15 |
components: [ |
| 16 |
Transform { id: transform }, |
| 17 |
Mesh { id: mesh }, |
| 18 |
GoochMaterial { id: gooch } |
| 19 |
] |
| 20 |
} |