immersive-home/app/addons/godot-xr-tools/user_settings/user_settings_ui.tscn
2024-03-16 01:16:08 +01:00

184 lines
6.1 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://ytsxet2k47lj"]
[ext_resource type="Script" path="res://addons/godot-xr-tools/user_settings/user_settings_ui.gd" id="1"]
[node name="UserSettingsUI" type="TabContainer"]
offset_right = 214.0
offset_bottom = 126.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_font_sizes/font_size = 12
script = ExtResource("1")
[node name="Input" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="InputVBox" type="VBoxContainer" parent="Input"]
layout_mode = 2
[node name="SnapTurning" type="HBoxContainer" parent="Input/InputVBox"]
layout_mode = 2
[node name="Label" type="Label" parent="Input/InputVBox/SnapTurning"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Snap turning:"
[node name="SnapTurningCB" type="CheckBox" parent="Input/InputVBox/SnapTurning"]
layout_mode = 2
[node name="yAxisDeadZone" type="HBoxContainer" parent="Input/InputVBox"]
layout_mode = 2
[node name="Label" type="Label" parent="Input/InputVBox/yAxisDeadZone"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Y axis dead zone"
[node name="yAxisDeadZoneSlider" type="HSlider" parent="Input/InputVBox/yAxisDeadZone"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 0.5
step = 0.01
value = 0.1
[node name="xAxisDeadZone" type="HBoxContainer" parent="Input/InputVBox"]
layout_mode = 2
[node name="Label" type="Label" parent="Input/InputVBox/xAxisDeadZone"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "X axis dead zone"
[node name="xAxisDeadZoneSlider" type="HSlider" parent="Input/InputVBox/xAxisDeadZone"]
layout_mode = 2
size_flags_horizontal = 3
max_value = 0.5
step = 0.01
value = 0.2
[node name="HSeparator" type="HSeparator" parent="Input/InputVBox"]
layout_mode = 2
[node name="Buttons" type="HBoxContainer" parent="Input/InputVBox"]
layout_mode = 2
alignment = 1
[node name="Save" type="Button" parent="Input/InputVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Apply"
[node name="Reset" type="Button" parent="Input/InputVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Reset"
[node name="Player" type="MarginContainer" parent="."]
visible = false
layout_mode = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="PlayerVBox" type="VBoxContainer" parent="Player"]
layout_mode = 2
[node name="PlayerHeight" type="HBoxContainer" parent="Player/PlayerVBox"]
layout_mode = 2
[node name="Label" type="Label" parent="Player/PlayerVBox/PlayerHeight"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Height adjust:"
[node name="PlayerHeightSlider" type="HSlider" parent="Player/PlayerVBox/PlayerHeight"]
layout_mode = 2
size_flags_horizontal = 3
min_value = 1.0
max_value = 2.5
step = 0.05
value = 1.0
[node name="HSeparator" type="HSeparator" parent="Player/PlayerVBox"]
layout_mode = 2
[node name="Buttons" type="HBoxContainer" parent="Player/PlayerVBox"]
layout_mode = 2
alignment = 1
[node name="Save" type="Button" parent="Player/PlayerVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Apply"
[node name="Reset" type="Button" parent="Player/PlayerVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Reset"
[node name="WebXR" type="MarginContainer" parent="."]
visible = false
layout_mode = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="WebXRVBox" type="VBoxContainer" parent="WebXR"]
layout_mode = 2
[node name="WebXR" type="HBoxContainer" parent="WebXR/WebXRVBox"]
layout_mode = 2
[node name="Label" type="Label" parent="WebXR/WebXRVBox/WebXR"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "WebXR primary:"
[node name="WebXRPrimary" type="OptionButton" parent="WebXR/WebXRVBox/WebXR"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
item_count = 3
selected = 0
popup/item_0/text = "Auto"
popup/item_0/id = 0
popup/item_1/text = "Thumbstick"
popup/item_1/id = 1
popup/item_2/text = "Trackpad"
popup/item_2/id = 2
[node name="HSeparator" type="HSeparator" parent="WebXR/WebXRVBox"]
layout_mode = 2
[node name="Buttons" type="HBoxContainer" parent="WebXR/WebXRVBox"]
layout_mode = 2
alignment = 1
[node name="Save" type="Button" parent="WebXR/WebXRVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Apply"
[node name="Reset" type="Button" parent="WebXR/WebXRVBox/Buttons"]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Reset"
[connection signal="pressed" from="Input/InputVBox/SnapTurning/SnapTurningCB" to="." method="_on_SnapTurningCB_pressed"]
[connection signal="value_changed" from="Input/InputVBox/yAxisDeadZone/yAxisDeadZoneSlider" to="." method="_on_y_axis_dead_zone_slider_value_changed"]
[connection signal="value_changed" from="Input/InputVBox/xAxisDeadZone/xAxisDeadZoneSlider" to="." method="_on_x_axis_dead_zone_slider_value_changed"]
[connection signal="pressed" from="Input/InputVBox/Buttons/Save" to="." method="_on_Save_pressed"]
[connection signal="pressed" from="Input/InputVBox/Buttons/Reset" to="." method="_on_Reset_pressed"]
[connection signal="drag_ended" from="Player/PlayerVBox/PlayerHeight/PlayerHeightSlider" to="." method="_on_PlayerHeightSlider_drag_ended"]
[connection signal="pressed" from="Player/PlayerVBox/Buttons/Save" to="." method="_on_Save_pressed"]
[connection signal="pressed" from="Player/PlayerVBox/Buttons/Reset" to="." method="_on_Reset_pressed"]
[connection signal="item_selected" from="WebXR/WebXRVBox/WebXR/WebXRPrimary" to="." method="_on_PlayerHeightSlider_drag_ended"]
[connection signal="pressed" from="WebXR/WebXRVBox/Buttons/Save" to="." method="_on_Save_pressed"]
[connection signal="pressed" from="WebXR/WebXRVBox/Buttons/Reset" to="." method="_on_Reset_pressed"]