tests/manual/planets-qml/Planet.qml
raw| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | import Qt3D.Render 2.0 |
| 5 | import Qt3D.Extras 2.0 |
| 6 | |
| 7 | SphereMesh { |
| 8 | property real r: 0 |
| 9 | property real x: 0 |
| 10 | property real y: 0 |
| 11 | property real z: 0 |
| 12 | property real roll: 0 |
| 13 | property real tilt: 0 |
| 14 | |
| 15 | radius: 1.0 |
| 16 | generateTangents: true |
| 17 | rings: 64 |
| 18 | slices: 64 |
| 19 | } |