2019-09-30 16:24:24 +00:00
|
|
|
[gd_scene load_steps=2 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://previewer/settings.gd" type="Script" id=1]
|
|
|
|
|
|
|
|
[node name="settings" type="WindowDialog"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -512.0
|
|
|
|
margin_top = -300.0
|
|
|
|
margin_right = -256.0
|
|
|
|
margin_bottom = -44.0
|
|
|
|
size_flags_horizontal = 2
|
|
|
|
size_flags_vertical = 2
|
|
|
|
popup_exclusive = true
|
|
|
|
window_title = "Settings (T)"
|
|
|
|
resizable = true
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="scroll_container" type="ScrollContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
size_flags_horizontal = 7
|
|
|
|
size_flags_vertical = 7
|
|
|
|
|
|
|
|
[node name="controls" type="VBoxContainer" parent="scroll_container"]
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 256.0
|
|
|
|
size_flags_horizontal = 7
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
2019-10-08 16:54:39 +00:00
|
|
|
[node name="sky_label" type="Label" parent="scroll_container/controls"]
|
2019-09-30 16:24:24 +00:00
|
|
|
margin_right = 256.0
|
2019-10-08 16:54:39 +00:00
|
|
|
margin_bottom = 14.0
|
|
|
|
text = "Sky"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
|
|
|
|
[node name="sky_box" type="VBoxContainer" parent="scroll_container/controls"]
|
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 94.0
|
|
|
|
|
|
|
|
[node name="sky_coverage_box" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 16.0
|
|
|
|
|
|
|
|
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_coverage_box"]
|
|
|
|
margin_top = 1.0
|
|
|
|
margin_right = 126.0
|
|
|
|
margin_bottom = 15.0
|
2019-09-30 16:24:24 +00:00
|
|
|
size_flags_horizontal = 3
|
2019-10-08 16:54:39 +00:00
|
|
|
text = "Coverage"
|
|
|
|
align = 2
|
|
|
|
|
|
|
|
[node name="sky_coverage" type="HSlider" parent="scroll_container/controls/sky_box/sky_coverage_box"]
|
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 16.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
value = 0.5
|
|
|
|
|
|
|
|
[node name="sky_thickness_box_2" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
|
|
|
|
margin_top = 20.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 36.0
|
|
|
|
|
|
|
|
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_thickness_box_2"]
|
|
|
|
margin_top = 1.0
|
|
|
|
margin_right = 126.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Thickness"
|
|
|
|
align = 2
|
|
|
|
|
|
|
|
[node name="sky_thickness" type="HSlider" parent="scroll_container/controls/sky_box/sky_thickness_box_2"]
|
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 16.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
value = 25.0
|
|
|
|
|
|
|
|
[node name="sky_absorption_box_3" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
|
|
|
|
margin_top = 40.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 56.0
|
|
|
|
|
|
|
|
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_absorption_box_3"]
|
|
|
|
margin_top = 1.0
|
|
|
|
margin_right = 126.0
|
|
|
|
margin_bottom = 15.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Absorbtion"
|
|
|
|
align = 2
|
|
|
|
|
|
|
|
[node name="sky_absorption" type="HSlider" parent="scroll_container/controls/sky_box/sky_absorption_box_3"]
|
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 16.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
max_value = 10.0
|
|
|
|
step = 0.001
|
|
|
|
value = 1.031
|
|
|
|
|
|
|
|
[node name="sky_steps_box_4" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
|
|
|
|
margin_top = 60.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 76.0
|
2019-09-30 16:24:24 +00:00
|
|
|
|
2019-10-08 16:54:39 +00:00
|
|
|
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_steps_box_4"]
|
|
|
|
margin_top = 1.0
|
2019-09-30 16:24:24 +00:00
|
|
|
margin_right = 126.0
|
2019-10-08 16:54:39 +00:00
|
|
|
margin_bottom = 15.0
|
2019-09-30 16:24:24 +00:00
|
|
|
size_flags_horizontal = 3
|
2019-10-08 16:54:39 +00:00
|
|
|
text = "Steps"
|
2019-09-30 16:24:24 +00:00
|
|
|
align = 2
|
|
|
|
|
2019-10-08 16:54:39 +00:00
|
|
|
[node name="sky_steps" type="HSlider" parent="scroll_container/controls/sky_box/sky_steps_box_4"]
|
2019-09-30 16:24:24 +00:00
|
|
|
margin_left = 130.0
|
|
|
|
margin_right = 256.0
|
2019-10-08 16:54:39 +00:00
|
|
|
margin_bottom = 16.0
|
2019-09-30 16:24:24 +00:00
|
|
|
size_flags_horizontal = 3
|
2019-10-08 16:54:39 +00:00
|
|
|
value = 25.0
|
|
|
|
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_coverage_box/sky_coverage" to="." method="_on_sky_coverage_value_changed"]
|
|
|
|
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_thickness_box_2/sky_thickness" to="." method="_on_sky_thickness_value_changed"]
|
|
|
|
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_absorption_box_3/sky_absorption" to="." method="_on_sky_absorption_value_changed"]
|
|
|
|
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_steps_box_4/sky_steps" to="." method="_on_sky_steps_value_changed"]
|