[gd_scene format=3 uid="uid://cl7s0blh2uvcn"] [ext_resource type="Script" uid="uid://cinx51fb3163j" path="res://Panels/DemoPanel_Evented.torch" id="1_egjy0"] [ext_resource type="PackedScene" uid="uid://3noosdfr8vt2" path="res://Objects/I3PositionSwitch.tscn" id="2_egjy0"] [ext_resource type="PackedScene" uid="uid://c4skbeito3suj" path="res://Objects/ISwitch.tscn" id="2_wt1m2"] [ext_resource type="PackedScene" uid="uid://3gnlcoefcg04" path="res://Objects/IButton.tscn" id="3_ecd55"] [ext_resource type="PackedScene" uid="uid://b1cwggrpop0lm" path="res://Objects/ILed.tscn" id="4_egjy0"] [ext_resource type="PackedScene" uid="uid://covkw4kvf310f" path="res://Objects/SGauge.tscn" id="5_wt1m2"] [ext_resource type="PackedScene" uid="uid://dwd5j3opt1kf" path="res://Objects/SLabel.tscn" id="6_ecd55"] [sub_resource type="BoxMesh" id="BoxMesh_qa2x2"] [node name="ButtonDemoPanel" type="Node3D" unique_id=2132208088] script = ExtResource("1_egjy0") [node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1446696846] transform = Transform3D(0.8499854, 0, 0, 0, 0.060622327, 0, 0, 0, 0.4241688, 0.3620516, 0.07649438, 0.11413574) mesh = SubResource("BoxMesh_qa2x2") [node name="Switches" type="Node3D" parent="." unique_id=226305122] [node name="I3PositionSwitch" parent="Switches" unique_id=454776149 instance=ExtResource("2_egjy0")] transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.5965494, 0.106173694, 0.24083072) [node name="ISwitch" parent="Switches" unique_id=308040824 instance=ExtResource("2_wt1m2")] transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0, 0.017674267, 0.25783408) [node name="IButton" parent="Switches" unique_id=161856390 instance=ExtResource("3_ecd55")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0.158328, 0.006322846, 0.2579674) text = "PRESS" color = Color(0.53781974, 0.1420832, 0.2856657, 1) [node name="ISwitch2" parent="Switches" unique_id=2099385450 instance=ExtResource("2_wt1m2")] transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0.32394218, 0.017674267, 0.2550794) [node name="ISwitch3" parent="Switches" unique_id=224188860 instance=ExtResource("2_wt1m2")] transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0.46567643, 0.017674267, 0.25783408) isLoopingUpdate = true [node name="ISwitch4" parent="Switches" unique_id=533097172 instance=ExtResource("2_wt1m2")] transform = Transform3D(-0.5, 0, -4.371139e-08, 0, 0.5, 0, 4.371139e-08, 0, -0.5, 0.7249343, 0.017674267, 0.22710577) [node name="IButton2" parent="Switches" unique_id=936504949 instance=ExtResource("3_ecd55")] transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.73907703, 0.06907676, 0.28837055) text = "RESET" color = Color(0.53781974, 0.1420832, 0.2856657, 1) [node name="Instruments" type="Node3D" parent="." unique_id=1381623843] [node name="ILed" parent="Instruments" unique_id=2112223431 instance=ExtResource("4_egjy0")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 0, 0) [node name="ILed2" parent="Instruments" unique_id=79024419 instance=ExtResource("4_egjy0")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0.16047925, 0, 0) [node name="SGauge" parent="Instruments" unique_id=1241352669 instance=ExtResource("5_wt1m2")] transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0.32863718, 0.112274766, -0.009751603) [node name="ILed3" parent="Instruments" unique_id=924414462 instance=ExtResource("4_egjy0")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0.48306805, 0, 0) [node name="ILed4" parent="Instruments" unique_id=1645126863 instance=ExtResource("4_egjy0")] transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0.6734964, 0, 0) [node name="Labels" type="Node3D" parent="." unique_id=1044607918] [node name="SLabel" parent="Labels" unique_id=29466195 instance=ExtResource("6_ecd55")] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.01791925, 0.10718697, 0.15562294) Text = "Toggle" [node name="SLabel2" parent="Labels" unique_id=1643418302 instance=ExtResource("6_ecd55")] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.15064234, 0.10718697, 0.15562294) Text = "Press" [node name="SLabel3" parent="Labels" unique_id=253475495 instance=ExtResource("6_ecd55")] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.30069673, 0.10718697, 0.15562294) Text = "Gauge" [node name="SLabel4" parent="Labels" unique_id=857194478 instance=ExtResource("6_ecd55")] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.47425073, 0.10718697, 0.15562294) Text = "Flasher" [node name="SLabel4" parent="Labels/SLabel4" unique_id=1325574951 instance=ExtResource("6_ecd55")] transform = Transform3D(0.20000002, 0, 0, 0, 0.20000002, 0, 0, 0, 0.20000002, -0.08165431, 0.10718697, 0.7921726) Text = "Press this button to set the speed" [node name="SLabel5" parent="Labels" unique_id=471435141 instance=ExtResource("6_ecd55")] transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0.6589825, 0.10718697, 0.15562294) Text = "3Pos RGB" [node name="SLabel5" parent="Labels/SLabel5" unique_id=547055049 instance=ExtResource("6_ecd55")] transform = Transform3D(0.20000002, 0, 0, 0, 0.20000002, 0, 0, 0, 0.20000002, -0.02801156, 0.10718697, 0.7712231) Text = "Hold shift to decrease" [connection signal="switchUpdated" from="Switches/I3PositionSwitch" to="." method="_on_i_3_position_switch_switch_updated"] [connection signal="switchUpdated" from="Switches/ISwitch" to="." method="Switch1Updated"] [connection signal="buttonUpdated" from="Switches/IButton" to="." method="Button1Updated"] [connection signal="switchUpdated" from="Switches/ISwitch2" to="." method="Switch2Updated"] [connection signal="turnedOff" from="Switches/ISwitch2" to="." method="_on_i_switch_2_turned_off"] [connection signal="turnedOn" from="Switches/ISwitch2" to="." method="_on_i_switch_2_turned_on"] [connection signal="switchUpdated" from="Switches/ISwitch3" to="." method="_on_i_switch_3_switch_updated"] [connection signal="turnedOff" from="Switches/ISwitch4" to="." method="_on_i_switch_4_turned_off"] [connection signal="turnedOn" from="Switches/ISwitch4" to="." method="_on_i_switch_4_turned_on"] [connection signal="buttonPressed" from="Switches/IButton2" to="." method="_on_i_button_2_button_pressed"]