mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:16:20 +02:00
41 lines
888 B
QML
41 lines
888 B
QML
//
|
|
// Render Settings.qml
|
|
//
|
|
// Created by Sam Gateau on 5/28/2019
|
|
// Copyright 2019 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import "../../lib/prop" as Prop
|
|
|
|
Column {
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
|
|
|
|
Prop.PropEnum {
|
|
label: "Render Method"
|
|
object: Render
|
|
property: "renderMethod"
|
|
enums: Render.getRenderMethodNames()
|
|
}
|
|
|
|
Prop.PropBool {
|
|
label: "Shadows"
|
|
object: Render
|
|
property: "shadowsEnabled"
|
|
}
|
|
Prop.PropScalar {
|
|
label: "Viewport Resolution Scale"
|
|
object: Render
|
|
property: "viewportResolutionScale"
|
|
min: 0.25
|
|
max: 1.5
|
|
}
|
|
}
|
|
|