immersive-home/content/system/keyboard/keyboard.tscn

70 lines
2.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://lrehk38exd5n"]
[ext_resource type="Script" path="res://content/system/keyboard/keyboard.gd" id="1_maojw"]
[ext_resource type="PackedScene" uid="uid://bsjqdvkt0u87c" path="res://content/ui/components/button/button.tscn" id="1_xdpwr"]
[ext_resource type="FontVariation" uid="uid://sshfnckriqxn" path="res://assets/icons/icons.tres" id="3_3glvw"]
[ext_resource type="Script" path="res://content/ui/menu/grid.gd" id="3_mx544"]
2023-11-22 02:44:07 +02:00
[ext_resource type="Script" path="res://content/functions/movable.gd" id="4_86fct"]
2023-11-22 02:44:07 +02:00
[sub_resource type="BoxShape3D" id="BoxShape3D_k5ib7"]
size = Vector3(0.79, 0.01, 0.26)
[sub_resource type="BoxMesh" id="BoxMesh_7rntc"]
size = Vector3(0.79, 0.01, 0.26)
2023-11-22 02:44:07 +02:00
[node name="Keyboard" type="StaticBody3D" groups=["ui_focus_skip"]]
2023-11-22 02:44:07 +02:00
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("1_maojw")
[node name="Backspace" parent="." groups=["ui_focus_skip"] instance=ExtResource("1_xdpwr")]
2023-11-22 02:44:07 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.66, 0, 0.02)
metadata/key = 4194308
[node name="Label3D" type="Label3D" parent="Backspace"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.012, 0)
pixel_size = 0.001
text = "backspace"
font = ExtResource("3_3glvw")
font_size = 48
outline_size = 0
2023-11-22 02:44:07 +02:00
[node name="Caps" parent="." groups=["ui_focus_skip"] instance=ExtResource("1_xdpwr")]
2023-11-22 02:44:07 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.06, 0, 0.15)
toggleable = true
[node name="Label3D" type="Label3D" parent="Caps"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.012, 0)
pixel_size = 0.001
text = "keyboard_capslock"
font = ExtResource("3_3glvw")
font_size = 48
outline_size = 0
[node name="Paste" parent="." groups=["ui_focus_skip"] instance=ExtResource("1_xdpwr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.66, 0, 0.18)
[node name="Label3D" type="Label3D" parent="Paste"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.012, 0)
pixel_size = 0.001
text = "assignment"
font = ExtResource("3_3glvw")
font_size = 48
outline_size = 0
[node name="Keys" type="Node3D" parent="."]
script = ExtResource("3_mx544")
2023-11-22 02:44:07 +02:00
columns = 11
depth_gap = 0.06
size = Vector3(0.6, 1, 1)
2023-11-22 02:44:07 +02:00
[node name="Movable" type="Node" parent="."]
script = ExtResource("4_86fct")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300719, -0.009645, 0.0928761)
2023-11-22 02:44:07 +02:00
shape = SubResource("BoxShape3D_k5ib7")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300719, -0.009645, 0.0928761)
mesh = SubResource("BoxMesh_7rntc")