-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathTest.tscn
119 lines (107 loc) · 2.72 KB
/
Test.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Test.gd" type="Script" id=1]
[ext_resource path="res://VoronoiShaderGenerator/VoronoiShaderGenerator.tscn" type="PackedScene" id=2]
[ext_resource path="res://VoronoiShaderGenerator/VoronoiShaderGenerator_1px.png" type="Texture" id=3]
[node name="Test" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -1.10803
margin_bottom = -1.10803
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VoronoiShaderGenerator" parent="." instance=ExtResource( 2 )]
multiplier = 1.0
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Result" type="TextureRect" parent="Panel"]
margin_left = 44.0
margin_top = 44.0
margin_right = 556.0
margin_bottom = 556.0
texture = ExtResource( 3 )
expand = true
stretch_mode = 6
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Generate" type="Button" parent="Panel"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -439.0
margin_top = 507.0
margin_right = -34.0
margin_bottom = 553.0
text = "Generate"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Multiplier" type="SpinBox" parent="Panel"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -352.0
margin_top = 81.2161
margin_right = -29.0
margin_bottom = 105.216
min_value = 0.01
step = 0.01
value = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="Panel/Multiplier"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = -84.296
margin_top = -6.45964
margin_right = -10.296
margin_bottom = 7.54036
text = "Multiplier : "
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Seed" type="LineEdit" parent="Panel"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -352.0
margin_top = 113.108
margin_right = -48.0
margin_bottom = 137.108
[node name="Label" type="Label" parent="Panel/Seed"]
anchor_top = 0.5
anchor_bottom = 0.5
margin_left = -84.296
margin_top = -6.45964
margin_right = -10.296
margin_bottom = 7.54036
text = "Seed :"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RandomSeed" type="Button" parent="Panel/Seed"]
margin_left = 312.0
margin_top = 0.108032
margin_right = 332.0
margin_bottom = 20.108
text = "R"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NoiseType" type="OptionButton" parent="Panel"]
margin_left = 584.0
margin_top = 49.108
margin_right = 992.0
margin_bottom = 69.108
text = "Type1"
items = [ "Type1", null, false, 0, null, "Type2", null, false, 1, null ]
selected = 0
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="Panel/Generate" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="Panel/Seed/RandomSeed" to="." method="_on_RandomSeed_pressed"]