immersive-home/app/content/ui/menu/view/view_menu.tscn

124 lines
3.9 KiB
Plaintext
Raw Normal View History

2024-04-23 23:11:18 +03:00
[gd_scene load_steps=7 format=3 uid="uid://ddpxthb414unp"]
2024-01-22 17:54:15 +02:00
[ext_resource type="Script" path="res://content/ui/menu/view/view_menu.gd" id="1_hxajx"]
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="2_qan1b"]
[ext_resource type="PackedScene" uid="uid://pk5k1q8bx0rj" path="res://content/ui/components/slider/slider.tscn" id="4_d3xhb"]
2024-04-23 23:11:18 +03:00
[ext_resource type="Shader" path="res://assets/materials/glass.gdshader" id="5_cjxo5"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_e5hvo"]
render_priority = -3
shader = ExtResource("5_cjxo5")
shader_parameter/color = Color(1, 1, 1, 0.3)
shader_parameter/border_color = Color(1, 1, 1, 1)
shader_parameter/edge_color = Color(0, 0, 0, 1)
shader_parameter/size = Vector2(0.42, 0.32)
shader_parameter/border_size = 0.001
shader_parameter/border_fade_in = 0.005
shader_parameter/border_fade_out = 0.0
shader_parameter/corner_radius = 0.02
shader_parameter/roughness = 0.3
shader_parameter/grain_amount = 0.02
[sub_resource type="QuadMesh" id="QuadMesh_1j6jf"]
size = Vector2(0.42, 0.32)
2024-01-22 17:54:15 +02:00
[node name="ViewMenu" type="Node3D"]
script = ExtResource("1_hxajx")
[node name="Content" type="Node3D" parent="."]
[node name="MiniView" parent="Content" instance=ExtResource("2_qan1b")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04, -0.04, 0)
2024-01-22 17:54:15 +02:00
label = "view_comfy"
icon = true
toggleable = true
[node name="MiniViewLabel" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.07, -0.04, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Mini View"
font_size = 18
outline_size = 0
horizontal_alignment = 0
[node name="HeatMap" parent="Content" instance=ExtResource("2_qan1b")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04, -0.1, 0)
label = "device_thermostat"
icon = true
toggleable = true
[node name="HeatMapLabel" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.07, -0.1, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Heat Map"
font_size = 18
outline_size = 0
horizontal_alignment = 0
[node name="HumidityMap" parent="Content" instance=ExtResource("2_qan1b")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.04, -0.16, 0)
label = "humidity_mid"
icon = true
toggleable = true
[node name="HumidityMapLabel" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.07, -0.16, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Humidity Map"
font_size = 18
outline_size = 0
horizontal_alignment = 0
[node name="MinSlider" parent="Content" instance=ExtResource("4_d3xhb")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.09, -0.21, 0)
2024-04-10 21:23:19 +03:00
value = 0.0
step = 1.0
[node name="MinValue" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, -0.21, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Min Value"
font_size = 18
outline_size = 0
horizontal_alignment = 0
[node name="MaxSlider" parent="Content" instance=ExtResource("4_d3xhb")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.09, -0.25, 0)
2024-04-10 21:23:19 +03:00
value = 0.0
step = 1.0
[node name="MaxValue" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, -0.25, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Max Value"
font_size = 18
outline_size = 0
horizontal_alignment = 0
[node name="OpacitySlider" parent="Content" instance=ExtResource("4_d3xhb")]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.09, -0.29, 0)
max = 100.0
value = 30.0
step = 10.0
label_unit = "%"
[node name="OpacityLabel" type="Label3D" parent="Content"]
2024-04-23 23:11:18 +03:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.2, -0.29, 0)
pixel_size = 0.001
2024-04-23 23:11:18 +03:00
double_sided = false
text = "Opacity"
font_size = 18
outline_size = 0
horizontal_alignment = 0
2024-04-23 23:11:18 +03:00
[node name="Background" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 1.06581e-14, 0, -1.06581e-14, 1, 0.21, -0.16, 0)
material_override = SubResource("ShaderMaterial_e5hvo")
mesh = SubResource("QuadMesh_1j6jf")
skeleton = NodePath("../..")