khanat-assets---3d-godot-cl.../previewer/settings.tscn

154 lines
4.6 KiB
Text

[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
[node name="sky_label" type="Label" parent="scroll_container/controls"]
margin_right = 256.0
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
size_flags_horizontal = 3
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" 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"]
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"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 16.0
size_flags_horizontal = 3
value = 25.0
[node name="sky_absorption_box" 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"]
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"]
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" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
margin_top = 60.0
margin_right = 256.0
margin_bottom = 76.0
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_steps_box"]
margin_top = 1.0
margin_right = 126.0
margin_bottom = 15.0
size_flags_horizontal = 3
text = "Steps"
align = 2
[node name="sky_steps" type="HSlider" parent="scroll_container/controls/sky_box/sky_steps_box"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 16.0
size_flags_horizontal = 3
value = 25.0
ticks_on_borders = true
[node name="sky_time_box" type="HBoxContainer" parent="scroll_container/controls/sky_box"]
margin_top = 60.0
margin_right = 256.0
margin_bottom = 76.0
[node name="label" type="Label" parent="scroll_container/controls/sky_box/sky_time_box"]
margin_top = 1.0
margin_right = 126.0
margin_bottom = 15.0
size_flags_horizontal = 3
text = "Time of day"
align = 2
[node name="sky_time" type="HSlider" parent="scroll_container/controls/sky_box/sky_time_box"]
margin_left = 130.0
margin_right = 256.0
margin_bottom = 16.0
size_flags_horizontal = 3
max_value = 24.0
step = 0.01
value = 16.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/sky_thickness" to="." method="_on_sky_thickness_value_changed"]
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_absorption_box/sky_absorption" to="." method="_on_sky_absorption_value_changed"]
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_steps_box/sky_steps" to="." method="_on_sky_steps_value_changed"]
[connection signal="value_changed" from="scroll_container/controls/sky_box/sky_time_box/sky_time" to="." method="_on_sky_time_value_changed"]