mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
41 lines
778 B
QML
41 lines
778 B
QML
//
|
|
// fade.qml
|
|
// developer/utilities/render
|
|
//
|
|
// Olivier Prat, created on 30/04/2017.
|
|
// Copyright 2017 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.5
|
|
import QtQuick.Controls 1.4
|
|
import "configSlider"
|
|
|
|
Row {
|
|
property var taskConfig: Render.getConfig("RenderDeferredTask");
|
|
spacing: 4
|
|
Column {
|
|
spacing: 8
|
|
|
|
CheckBox {
|
|
text: "Force Fade"
|
|
checked: taskConfig["debugFade"]
|
|
onCheckedChanged: { taskConfig["debugFade"] = checked }
|
|
}
|
|
}
|
|
Column {
|
|
spacing: 8
|
|
|
|
ConfigSlider {
|
|
label: "Percent"
|
|
integral: false
|
|
config: taskConfig
|
|
property: "debugFadePercent"
|
|
max: 1.0
|
|
min: 0.0
|
|
width: 250
|
|
}
|
|
}
|
|
}
|
|
|