tests/manual/qardboard/QardboardScene3D.qml
raw| 1 | // Copyright (C) 2017 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 | |
| 7 | import Qt3D.Core 2.0 |
| 8 | import Qt3D.Render 2.0 |
| 9 | import Qt3D.Input 2.0 |
| 10 | import Qt3D.Extras 2.0 |
| 11 | |
| 12 | Scene3D { |
| 13 | id: scene3d |
| 14 | focus: true |
| 15 | aspects: ["input", "logic"] |
| 16 | cameraAspectRatioMode: Scene3D.UserAspectRatio |
| 17 | multisample: true |
| 18 | |
| 19 | QardboardRootEntity { |
| 20 | } |
| 21 | } |