blob: ef2789cd8c2d331ee49ab22a7906f7afc4096031 (
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
35
36
37
38
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import QtQuick3D
import Example
Window {
id: window
visible: true
width: 800
height: 480
title: qsTr("Simple Skinning")
View3D {
id: view
anchors.fill: parent
environment: SceneEnvironment {
clearColor: "black"
backgroundMode: SceneEnvironment.Color
}
PerspectiveCamera {
id: camera
position.z: 3.0
clipNear: 1.0
clipFar: 10.0
}
SimpleSkinning {
x: -1
}
SimpleSkinningNew {
x: 1
}
}
}
|