summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml/Planet.qml
blob: 530ef2ce0e5f9019f05e824313915e5a9cfa7d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import Qt3D.Render 2.0
import Qt3D.Extras 2.0

SphereMesh {
    property real r: 0
    property real x: 0
    property real y: 0
    property real z: 0
    property real roll: 0
    property real tilt: 0

    radius: 1.0
    generateTangents: true
    rings: 64
    slices: 64
}