tests/manual/boundingvolumes/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.0 |
| 5 | import QtQuick.Scene3D 2.0 |
| 6 | import Qt3D.Render 2.15 |
| 7 | |
| 8 | Item { |
| 9 | Scene3D { |
| 10 | id: scene3d |
| 11 | anchors.fill: parent |
| 12 | focus: true |
| 13 | aspects: ["input", "logic"] |
| 14 | cameraAspectRatioMode: Scene3D.AutomaticAspectRatio |
| 15 | |
| 16 | AnimatedEntity { |
| 17 | id: rootEntity |
| 18 | } |
| 19 | } |
| 20 | } |