immersive-home/app/content/entities/light/light.tscn

67 lines
2.8 KiB
Plaintext
Raw Normal View History

2024-05-27 13:30:43 +03:00
[gd_scene load_steps=11 format=3 uid="uid://4smofj8ou0g7"]
2023-11-05 16:16:07 +02:00
[ext_resource type="Script" path="res://content/entities/light/light.gd" id="1_ykxy3"]
2023-11-05 22:32:50 +02:00
[ext_resource type="Script" path="res://content/functions/movable.gd" id="4_4sfxb"]
2023-11-12 18:36:23 +02:00
[ext_resource type="Material" uid="uid://vce66e7sbc3n" path="res://content/entities/light/light_on.tres" id="5_50gph"]
[ext_resource type="PackedScene" uid="uid://chrjqr4l7atrc" path="res://content/ui/components/color_wheel/color_wheel.tscn" id="5_qj75k"]
2023-11-29 23:24:38 +02:00
[ext_resource type="PackedScene" uid="uid://pk5k1q8bx0rj" path="res://content/ui/components/slider/slider.tscn" id="6_mhjlm"]
[ext_resource type="PackedScene" uid="uid://wgnowarejk5y" path="res://content/ui/components/select/select.tscn" id="7_wbegr"]
2024-05-09 13:40:41 +03:00
[ext_resource type="AudioStream" uid="uid://du7ur0lu28cvn" path="res://assets/sound/finger-snap.mp3" id="8_3togy"]
[ext_resource type="Script" path="res://content/functions/camera_follower.gd" id="9_a7u7m"]
[ext_resource type="PackedScene" uid="uid://de34yde00ngkv" path="res://content/entities/light/settings.tscn" id="10_su84f"]
[sub_resource type="SphereShape3D" id="SphereShape3D_ukj14"]
2023-11-14 01:51:48 +02:00
radius = 0.05
[node name="Light" type="StaticBody3D"]
2023-11-28 16:14:21 +02:00
collision_mask = 0
script = ExtResource("1_ykxy3")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_ukj14")
2023-11-05 22:32:50 +02:00
[node name="Movable" type="Node" parent="."]
script = ExtResource("4_4sfxb")
2024-05-01 18:42:38 +03:00
resizable = true
2023-11-12 18:36:23 +02:00
2024-05-27 13:30:43 +03:00
[node name="CameraFollower" type="Node" parent="." node_paths=PackedStringArray("focus_point")]
script = ExtResource("9_a7u7m")
enabled = false
2024-05-27 13:35:43 +03:00
focus_point = NodePath("../Settings")
2024-05-27 13:30:43 +03:00
[node name="Lightbulb" type="CSGCombiner3D" parent="."]
2023-11-12 18:36:23 +02:00
transform = Transform3D(1, 9.69949e-05, 0.000589194, -9.77749e-05, 0.999999, 0.00135802, -0.000589065, -0.00135808, 0.999999, 0, 0, 0)
material_override = ExtResource("5_50gph")
[node name="CSGSphere3D" type="CSGSphere3D" parent="Lightbulb"]
2023-11-12 18:36:23 +02:00
radius = 0.05
radial_segments = 36
rings = 12
[node name="CSGCylinder3D" type="CSGCylinder3D" parent="Lightbulb"]
2023-11-12 18:36:23 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0485739, 0)
radius = 0.02
height = 0.03
sides = 36
2023-11-29 01:16:25 +02:00
[node name="Slider" parent="." instance=ExtResource("6_mhjlm")]
transform = Transform3D(-4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0.08, 0, 0)
2023-11-29 01:16:25 +02:00
max = 100.0
value = 100.0
step = 1.0
2024-01-28 18:13:32 +02:00
[node name="ColorWheel" parent="." instance=ExtResource("5_qj75k")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.15, 0, 0)
color = Color(0, 0.616667, 1, 1)
size = Vector3(0.15, 0.2, 0.01)
2024-01-28 18:30:01 +02:00
[node name="Modes" parent="." instance=ExtResource("7_wbegr")]
2024-01-28 18:30:01 +02:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.11, 0)
2024-05-09 13:40:41 +03:00
[node name="SnapSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_3togy")
volume_db = -20.0
[node name="Settings" parent="." instance=ExtResource("10_su84f")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.29, 0, 0)