tests/manual/transparency-qml-scene3d/main.qml
raw| 1 | // Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB). |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | import QtQuick 2.4 |
| 5 | import QtQuick.Window 2.2 |
| 6 | import QtQuick.Scene3D 2.0 |
| 7 | |
| 8 | Window { |
| 9 | visible: true |
| 10 | width: 1024 |
| 11 | height: 768 |
| 12 | color: "black" |
| 13 | |
| 14 | Item { |
| 15 | anchors.fill: parent |
| 16 | Scene3D { |
| 17 | id: scene3D |
| 18 | anchors.fill: parent |
| 19 | focus: true |
| 20 | aspects: ["input", "logic"] |
| 21 | Scene {} |
| 22 | } |
| 23 | } |
| 24 | } |