2019-05-28 18:01:39 -07:00
|
|
|
//
|
|
|
|
// 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 {
|
2019-05-30 12:03:44 -07:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2019-05-29 17:49:17 -07:00
|
|
|
|
2019-05-28 21:55:17 -07:00
|
|
|
|
2019-05-28 18:01:39 -07:00
|
|
|
Prop.PropEnum {
|
|
|
|
label: "Render Method"
|
|
|
|
object: Render
|
|
|
|
property: "renderMethod"
|
2019-05-28 21:55:17 -07:00
|
|
|
enums: Render.getRenderMethodNames()
|
2019-05-28 18:01:39 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
Prop.PropBool {
|
|
|
|
label: "Shadows"
|
|
|
|
object: Render
|
|
|
|
property: "shadowsEnabled"
|
|
|
|
}
|
2019-06-13 17:42:32 -07:00
|
|
|
Prop.PropScalar {
|
|
|
|
label: "Viewport Resolution Scale"
|
|
|
|
object: Render
|
|
|
|
property: "viewportResolutionScale"
|
2019-06-21 16:17:28 -07:00
|
|
|
min: 0.25
|
|
|
|
max: 1.5
|
2019-06-13 17:42:32 -07:00
|
|
|
}
|
2019-05-28 18:01:39 -07:00
|
|
|
}
|
|
|
|
|