// Copyright (C) 2017 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick 2.0 import QtQuick.Scene3D 2.0 import Qt3D.Render 2.0 Item { Rectangle { id: scene property bool colorChange: true anchors.fill: parent color: "White" transform: Rotation { id: sceneRotation axis.x: 1 axis.y: 0 axis.z: 0 origin.x: scene.width / 2 origin.y: scene.height / 2 } Scene3D { id: scene3d anchors.fill: parent anchors.margins: 10 focus: true aspects: ["input", "logic"] cameraAspectRatioMode: Scene3D.AutomaticAspectRatio SceneRoot { id: root } } } }