immersive-home/app/content/ui/components/line_chart/line_chart.tscn

66 lines
23 KiB
Plaintext
Raw Normal View History

2024-04-10 21:23:19 +03:00
[gd_scene load_steps=8 format=3 uid="uid://cwvykoymlrrel"]
[ext_resource type="Script" path="res://content/ui/components/line_chart/line_chart.gd" id="1_n7fu8"]
[ext_resource type="PackedScene" uid="uid://bs5wjs1sf67il" path="res://content/ui/components/line_chart/x_axis.tscn" id="2_2ow77"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_20gpn"]
cull_mode = 2
shading_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_2ookd"]
_surfaces = [{
"aabb": AABB(-0.00490072, -0.00294936, 0, 0.504732, 0.305794, 1e-05),
"format": 34359742465,
"index_count": 198,
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 16, 0, 17, 0, 18, 0, 19, 0, 20, 0, 21, 0, 22, 0, 23, 0, 24, 0, 25, 0, 26, 0, 27, 0, 28, 0, 29, 0, 30, 0, 31, 0, 32, 0, 33, 0, 34, 0, 35, 0, 36, 0, 37, 0, 38, 0, 39, 0, 40, 0, 41, 0, 42, 0, 43, 0, 44, 0, 45, 0, 46, 0, 47, 0, 48, 0, 49, 0, 50, 0, 51, 0, 52, 0, 53, 0, 54, 0, 55, 0, 56, 0, 57, 0, 58, 0, 59, 0, 60, 0, 61, 0, 62, 0, 63, 0, 64, 0, 65, 0, 66, 0, 67, 0, 68, 0, 69, 0, 70, 0, 71, 0, 72, 0, 73, 0, 74, 0, 75, 0, 76, 0, 77, 0, 78, 0, 79, 0, 80, 0, 81, 0, 82, 0, 83, 0, 84, 0, 85, 0, 86, 0, 87, 0, 88, 0, 89, 0, 90, 0, 91, 0, 92, 0, 93, 0, 94, 0, 95, 0, 96, 0, 97, 0, 98, 0, 99, 0, 100, 0, 101, 0, 102, 0, 103, 0, 104, 0, 105, 0, 106, 0, 107, 0, 108, 0, 109, 0, 110, 0, 111, 0, 112, 0, 113, 0, 114, 0, 115, 0, 116, 0, 117, 0, 118, 0, 119, 0, 120, 0, 121, 0, 122, 0, 123, 0, 124, 0, 125, 0, 126, 0, 127, 0, 128, 0, 129, 0, 130, 0, 131, 0, 132, 0, 133, 0, 134, 0, 135, 0, 136, 0, 137, 0, 138, 0, 139, 0, 140, 0, 141, 0, 142, 0, 143, 0, 144, 0, 145, 0, 146, 0, 147, 0, 148, 0, 149, 0, 150, 0, 151, 0, 152, 0, 153, 0, 154, 0, 155, 0, 156, 0, 157, 0, 158, 0, 159, 0, 160, 0, 161, 0, 162, 0, 163, 0, 164, 0, 165, 0, 166, 0, 167, 0, 168, 0, 169, 0, 170, 0, 171, 0, 172, 0, 173, 0, 174, 0, 175, 0, 176, 0, 177, 0, 178, 0, 179, 0, 180, 0, 181, 0, 182, 0, 183, 0, 184, 0, 185, 0, 186, 0, 187, 0, 188, 0, 189, 0, 190, 0, 191, 0, 192, 0, 193, 0, 194, 0, 195, 0, 196, 0, 197, 0),
"primitive": 4,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 198,
"vertex_data": PackedByteArray(51, 150, 160, 187, 107, 60, 26, 62, 0, 0, 0, 0, 51, 150, 160, 59, 137, 4, 25, 62, 0, 0, 0, 0, 160, 28, 31, 57, 135, 148, 41, 62, 0, 0, 0, 0, 66, 2, 35, 60, 159, 89, 40, 62, 0, 0, 0, 0, 170, 153, 170, 59, 252, 198, 56, 62, 0, 0, 0, 0, 149, 176, 117, 60, 228, 133, 55, 62, 0, 0, 0, 0, 118, 39, 40, 60, 27, 173, 71, 62, 0, 0, 0, 0, 85, 42, 164, 60, 91, 98, 70, 62, 0, 0, 0, 0, 188, 14, 123, 60, 18, 33, 86, 62, 0, 0, 0, 0, 12, 118, 205, 60, 179, 200, 84, 62, 0, 0, 0, 0, 70, 3, 167, 60, 94, 254, 99, 62, 0, 0, 0, 0, 126, 185, 246, 60, 163, 147, 98, 62, 0, 0, 0, 0, 142, 138, 208, 60, 45, 34, 113, 62, 0, 0, 0, 0, 201, 248, 15, 61, 62, 159, 111, 62, 0, 0, 0, 0, 71, 34, 250, 60, 219, 107, 125, 62, 0, 0, 0, 0, 152, 140, 36, 61, 48, 201, 123, 62, 0, 0, 0, 0, 129, 233, 17, 61, 177, 94, 132, 62, 0, 0, 0, 0, 233, 19, 57, 61, 121, 120, 131, 62, 0, 0, 0, 0, 243, 213, 38, 61, 250, 125, 137, 62, 0, 0, 0, 0, 37, 135, 77, 61, 236, 123, 136, 62, 0, 0, 0, 0, 190, 228, 59, 61, 87, 8, 142, 62, 0, 0, 0, 0, 6, 216, 97, 61, 115, 224, 140, 62, 0, 0, 0, 0, 208, 50, 81, 61, 214, 244, 145, 62, 0, 0, 0, 0, 162, 233, 117, 61, 41, 152, 144, 62, 0, 0, 0, 0, 181, 255, 102, 61, 162, 61, 149, 62, 0, 0, 0, 0, 54, 190, 132, 61, 86, 149, 147, 62, 0, 0, 0, 0, 122, 224, 125, 61, 247, 223, 151, 62, 0, 0, 0, 0, 169, 253, 141, 61, 179, 202, 149, 62, 0, 0, 0, 0, 34, 144, 139, 61, 144, 213, 153, 62, 0, 0, 0, 0, 154, 13, 150, 61, 33, 50, 151, 62, 0, 0, 0, 0, 106, 26, 154, 61, 224, 247, 154, 62, 0, 0, 0, 0, 42, 51, 156, 61, 147, 233, 151, 62, 0, 0, 0, 0, 139, 58, 169, 61, 191, 7, 155, 62, 0, 0, 0, 0, 223, 194, 161, 61, 117, 43, 152, 62, 0, 0, 0, 0, 211, 156, 182, 61, 242, 36, 154, 62, 0, 0, 0, 0, 109, 16, 169, 61, 50, 215, 151, 62, 0, 0, 0, 0, 169, 112, 194, 61, 47, 136, 152, 62, 0, 0, 0, 0, 111, 236, 177, 61, 47, 183, 150, 62, 0, 0, 0, 0, 117, 131, 205, 61, 84, 62, 150, 62, 0, 0, 0, 0, 121, 137, 187, 61, 140, 197, 148, 62, 0, 0, 0, 0, 101, 63, 216, 61, 21, 72, 147, 62, 0, 0, 0, 0, 95, 125, 197, 61, 109, 12, 146, 62, 0, 0, 0, 0, 138, 209, 226, 61, 18, 168, 143, 62, 0, 0, 0, 0, 18, 155, 207, 61, 186, 151, 142, 62, 0, 0, 0, 0, 191, 77, 237, 61, 84, 100, 139, 62, 0, 0, 0, 0, 179, 206, 217, 61, 134, 115, 138, 62, 0, 0, 0, 0, 129, 189, 247, 61, 192, 133, 134, 62, 0, 0, 0, 0, 199, 14, 228, 61, 110, 172, 133, 62, 0, 0, 0, 0, 219, 18, 1, 62, 129, 23, 129, 62, 0, 0, 0, 0, 107, 86, 238, 61, 244, 79, 128, 62, 0, 0, 0, 0, 133, 68, 6, 62, 73, 77, 118, 62, 0, 0, 0, 0, 234, 162, 248, 61, 71, 217, 116, 62, 0, 0, 0, 0, 139, 116, 11, 62, 156, 131, 105, 62, 0, 0, 0, 0, 91, 121, 1, 62, 58, 36, 104, 62, 0, 0, 0, 0, 100, 163, 16, 62, 234, 241, 91, 62, 0, 0, 0, 0, 110, 162, 6, 62, 5, 162, 90, 62, 0, 0, 0, 0, 92, 209, 21, 62, 101, 186, 77, 62, 0, 0, 0, 0, 96, 204, 11, 62, 187, 117, 76, 62, 0, 0, 0, 0, 163, 254, 26, 62, 14, 1, 63, 62, 0, 0, 0, 0, 5, 247, 16, 62, 249, 195, 61, 62, 0, 0, 0, 0, 85, 43, 32, 62, 82, 235, 47, 62, 0, 0, 0, 0, 63, 34, 22, 62, 142, 178, 46, 62, 0, 0, 0, 0, 128, 87, 37, 62, 172, 159, 32, 62, 0, 0, 0, 0, 254, 77, 27, 62, 38, 104, 31, 62, 0, 0, 0, 0, 42, 131, 42, 62, 44, 69, 17, 62, 0, 0, 0, 0, 64, 122, 32, 62, 230, 11, 16, 62, 0, 0, 0, 0, 77, 174, 47, 62, 41, 3, 2, 62, 0, 0, 0, 0, 9, 167, 37, 62, 11, 197, 0, 62, 0, 0, 0, 0, 213, 216, 52, 62, 155, 1, 230, 61, 0, 0, 0, 0, 107, 212, 42, 62, 11, 117, 227, 61, 0, 0, 0, 0, 166, 2, 58, 62, 123, 201, 200, 61, 0, 0, 0, 0, 134, 2, 48, 62, 29, 37, 198, 61, 0, 0, 0, 0, 141, 43, 63, 62, 110, 169, 172, 61, 0, 0, 0, 0, 139, 49, 53, 62, 131, 228, 169, 61, 0, 0, 0, 0, 53, 83, 68, 62, 134, 234, 145, 61, 0, 0, 0, 0, 205, 97, 58, 62, 100, 250, 142, 61, 0, 0, 0, 0, 30, 121, 73, 62, 156, 165, 113, 61, 0, 0, 0, 0, 208, 147, 63, 62, 235, 83, 107, 61, 0, 0, 0, 0, 107, 156, 78, 62, 179, 73, 67, 61, 0, 0, 0, 0, 111, 200, 68, 62, 38, 99, 60, 61, 0, 0, 0, 0, 159, 187, 83, 62, 20, 63, 25, 61, 0, 0, 0, 0, 37, 1, 74, 62, 88, 147, 17, 61, 0, 0, 0, 0, 4, 212, 88, 62, 177, 248, 231, 60, 0, 0, 0, 0, 172, 64, 79, 62, 237, 141, 214, 60, 0, 0, 0, 0, 66, 224, 93, 62, 154, 228, 167, 60, 0, 0, 0, 0, 90, 140, 84, 62, 246, 156, 147, 60,
}, {
"aabb": AABB(0, 0, -0.005, 0.494949, 0.3, 0.01001),
"format": 34359738369,
"primitive": 4,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 198,
"vertex_data": PackedByteArray(0, 0, 0, 0, 122, 160, 25, 62, 10, 215, 163, 59, 0, 0, 0, 0, 122, 160, 25, 62, 10, 215, 163, 187, 181, 126, 165, 59, 19, 247, 40, 62, 10, 215, 163, 59, 181, 126, 165, 59, 19, 247, 40, 62, 10, 215, 163, 187, 181, 126, 37, 60, 112, 38, 56, 62, 10, 215, 163, 59, 181, 126, 37, 60, 112, 38, 56, 62, 10, 215, 163, 187, 16, 62, 120, 60, 187, 7, 71, 62, 10, 215, 163, 59, 16, 62, 120, 60, 187, 7, 71, 62, 10, 215, 163, 187, 181, 126, 165, 60, 227, 116, 85, 62, 10, 215, 163, 59, 181, 126, 165, 60, 227, 116, 85, 62, 10, 215, 163, 187, 98, 222, 206, 60, 1, 73, 99, 62, 10, 215, 163, 59, 98, 222, 206, 60, 1, 73, 99, 62, 10, 215, 163, 187, 16, 62, 248, 60, 182, 96, 112, 62, 10, 215, 163, 59, 16, 62, 248, 60, 182, 96, 112, 62, 10, 215, 163, 187, 222, 206, 16, 61, 133, 154, 124, 62, 10, 215, 163, 59, 222, 206, 16, 61, 133, 154, 124, 62, 10, 215, 163, 187, 181, 126, 37, 61, 149, 235, 131, 62, 10, 215, 163, 59, 181, 126, 37, 61, 149, 235, 131, 62, 10, 215, 163, 187, 140, 46, 58, 61, 243, 252, 136, 62, 10, 215, 163, 59, 140, 46, 58, 61, 243, 252, 136, 62, 10, 215, 163, 187, 98, 222, 78, 61, 101, 116, 141, 62, 10, 215, 163, 59, 98, 222, 78, 61, 101, 116, 141, 62, 10, 215, 163, 187, 57, 142, 99, 61, 127, 70, 145, 62, 10, 215, 163, 59, 57, 142, 99, 61, 127, 70, 145, 62, 10, 215, 163, 187, 16, 62, 120, 61, 124, 105, 148, 62, 10, 215, 163, 59, 16, 62, 120, 61, 124, 105, 148, 62, 10, 215, 163, 187, 243, 118, 134, 61, 85, 213, 150, 62, 10, 215, 163, 59, 243, 118, 134, 61, 85, 213, 150, 62, 10, 215, 163, 187, 222, 206, 144, 61, 217, 131, 152, 62, 10, 215, 163, 59, 222, 206, 144, 61, 217, 131, 152, 62, 10, 215, 163, 187, 202, 38, 155, 61, 185, 112, 153, 62, 10, 215, 163, 59, 202, 38, 155, 61, 185, 112, 153, 62, 10, 215, 163, 187, 181, 126, 165, 61, 154, 153, 153, 62, 10, 215, 163, 59, 181, 126, 165, 61, 154, 153, 153, 62, 10, 215, 163, 187, 160, 214, 175, 61, 18, 254, 152, 62, 10, 215, 163, 59, 160, 214, 175, 61, 18, 254, 152, 62, 10, 215, 163, 187, 140, 46, 186, 61, 175, 159, 151, 62, 10, 215, 163, 59, 140, 46, 186, 61, 175, 159, 151, 62, 10, 215, 163, 187, 119, 134, 196, 61, 240, 129, 149, 62, 10, 215, 163, 59, 119, 134, 196, 61, 240, 129, 149, 62, 10, 215, 163, 187, 98, 222, 206, 61, 65, 170, 146, 62, 10, 215, 163, 59, 98, 222, 206, 61, 65, 170, 146, 62, 10, 215, 163, 187, 78, 54, 217, 61, 230, 31, 143, 62, 10, 215, 163, 59, 78, 54, 217, 61, 230, 31, 143, 62, 10, 215, 163, 187, 57, 142, 227, 61, 237, 235, 138, 62, 10, 215, 163, 59, 57, 142, 227, 61, 237, 235, 138, 62, 10, 215, 163, 187, 36, 230, 237, 61, 23, 25, 134, 62, 10, 215, 163, 59, 36, 230, 237, 61, 23, 25, 134, 62, 10, 215, 163, 187, 16, 62, 248, 61, 187, 179, 128, 62, 10, 215, 163, 59, 16, 62, 248, 61, 187, 179, 128, 62, 10, 215, 163, 187, 253, 74, 1, 62, 72, 147, 117, 62, 10, 215, 163, 59, 253, 74, 1, 62, 72, 147, 117, 62, 10, 215, 163, 187, 243, 118, 6, 62, 235, 211, 104, 62, 10, 215, 163, 59, 243, 118, 6, 62, 235, 211, 104, 62, 10, 215, 163, 187, 233, 162, 11, 62, 247, 73, 91, 62, 10, 215, 163, 59, 233, 162, 11, 62, 247, 73, 91, 62, 10, 215, 163, 187, 222, 206, 16, 62, 16, 24, 77, 62, 10, 215, 163, 59, 222, 206, 16, 62, 16, 24, 77, 62, 10, 215, 163, 187, 212, 250, 21, 62, 131, 98, 62, 62, 10, 215, 163, 59, 212, 250, 21, 62, 131, 98, 62, 62, 10, 215, 163, 187, 202, 38, 27, 62, 240, 78, 47, 62, 10, 215, 163, 59, 202, 38, 27, 62, 240, 78, 47, 62, 10, 215, 163, 187, 191, 82, 32, 62, 233, 3, 32, 62, 10, 215, 163, 59, 191, 82, 32, 62, 233, 3, 32, 62, 10, 215, 163, 187, 181, 126, 37, 62, 137, 168, 16, 62, 10, 215, 163, 59, 181, 126, 37, 62, 137, 168, 16, 62, 10, 215, 163, 187, 171, 170, 42, 62, 26, 100, 1, 62, 10, 215, 163, 59, 171, 170, 42, 62, 26, 100, 1, 62, 10, 215, 163, 187, 160, 214, 47, 62, 83, 187, 228, 61, 10, 215, 163, 59, 160, 214, 47, 62, 83, 187, 228, 61, 10, 215, 163, 187, 150, 2, 53, 62, 76, 119, 199, 61, 10, 215, 163, 59, 150, 2, 53, 62, 76, 119, 199, 61, 10, 215, 163, 187, 140, 46, 58, 62, 248, 70, 171, 61, 10, 215, 163, 59, 140, 46, 58, 62, 248, 70, 171, 61, 10, 215, 163, 187, 129, 90, 63, 62, 117, 114, 144, 61, 10, 215, 163, 59, 129, 90, 63, 62
}]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f7ea3"]
transparency = 1
cull_mode = 2
albedo_color = Color(1, 1, 1, 0.164706)
[sub_resource type="QuadMesh" id="QuadMesh_b7vce"]
size = Vector2(0.5, 0.3)
[sub_resource type="ViewportTexture" id="ViewportTexture_dwm74"]
viewport_path = NodePath("XAxis/SubViewport")
[node name="LineChart" type="Node3D"]
script = ExtResource("1_n7fu8")
[node name="Line" type="MeshInstance3D" parent="."]
material_override = SubResource("StandardMaterial3D_20gpn")
mesh = SubResource("ArrayMesh_2ookd")
[node name="YAxis" type="MeshInstance3D" parent="."]
[node name="Plane" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.25, 0.15, -0.001)
material_override = SubResource("StandardMaterial3D_f7ea3")
mesh = SubResource("QuadMesh_b7vce")
[node name="XAxis" type="Sprite3D" parent="."]
centered = false
offset = Vector2(-400, 0)
pixel_size = 0.0001
billboard = 2
texture = SubResource("ViewportTexture_dwm74")
[node name="SubViewport" type="SubViewport" parent="XAxis"]
transparent_bg = true
size = Vector2i(400, 3000)
[node name="XAxis" parent="XAxis/SubViewport" instance=ExtResource("2_2ow77")]