tests/auto/render/boundingsphere/cube.qml
raw| 1 | // Copyright (C) 2016 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: sceneRoot |
| 10 | |
| 11 | components: [ ] |
| 12 | |
| 13 | // Parent Entity |
| 14 | Entity { |
| 15 | |
| 16 | components: [ |
| 17 | CuboidMesh { id: testMesh; objectName: "testMesh" }, |
| 18 | PhongMaterial { id: material } |
| 19 | ] |
| 20 | } |
| 21 | |
| 22 | } |