summaryrefslogtreecommitdiffstats
path: root/examples/demos/dice/Dice_low.qml
blob: 31309741f88c38cf5ea870f152cfbe93b87e3b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick
import QtQuick3D

Node {
    id: node

    // Resources
    PrincipledMaterial {
        id: base_material
        baseColor: "#ffb8b8b8"
        roughness: 0.44999998807907104
        cullMode: PrincipledMaterial.NoCulling
        alphaMode: PrincipledMaterial.Opaque
    }
    PrincipledMaterial {
        id: dots_material
        baseColor: "#ff000000"
        roughness: 0.15000000596046448
        cullMode: PrincipledMaterial.NoCulling
        alphaMode: PrincipledMaterial.Opaque
    }

    // Nodes:
    Model {
        id: cube_001
        source: "meshes/cube_001.mesh"
        materials: [base_material, dots_material]
    }

    // Animations:
}