blob: b60c3151dd8208e8f3b1e0626cc76d8a6eb574d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick3D
import QtQuick3D.Xr
XrController {
controller: XrController.ControllerLeft
poseSpace: XrController.AimPose
Model {
source: "#Cube"
scale: Qt.vector3d(0.1, 0.1, 0.1)
materials: DefaultMaterial {
diffuseColor: "blue"
lighting: DefaultMaterial.NoLighting
}
}
}
|