2019-10-26 13:51:15 +02:00
|
|
|
[gd_scene load_steps=12 format=2]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter.gd" type="Script" id=1]
|
2019-10-06 14:07:49 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/icons/icons.svg" type="Texture" id=2]
|
2018-10-28 16:26:37 +01:00
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_float.tscn" type="PackedScene" id=3]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_size.tscn" type="PackedScene" id=4]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_enum.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_boolean.tscn" type="PackedScene" id=6]
|
2018-10-28 17:06:42 +01:00
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_color.tscn" type="PackedScene" id=7]
|
2019-08-09 08:16:24 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/parameter_gradient.tscn" type="PackedScene" id=8]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 16, 16, 16 )
|
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 18, 48, 12, 16 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 34, 48, 12, 16 )
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Parameter" type="HBoxContainer"]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_right = 201.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Delete" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_right = 28.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
icon = SubResource( 1 )
|
2018-10-09 07:24:44 +02:00
|
|
|
flat = true
|
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[node name="Up" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_left = 32.0
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
icon = SubResource( 2 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Down" type="Button" parent="."]
|
|
|
|
margin_left = 60.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
icon = SubResource( 3 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Name" type="LineEdit" parent="."]
|
|
|
|
margin_left = 88.0
|
|
|
|
margin_right = 158.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 24.0
|
2018-10-09 07:24:44 +02:00
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
text = "name"
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Label" type="LineEdit" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 162.0
|
|
|
|
margin_right = 232.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 24.0
|
2018-10-09 07:24:44 +02:00
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
text = "Label"
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Type" type="OptionButton" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 236.0
|
|
|
|
margin_right = 305.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 24.0
|
2018-10-28 17:06:42 +01:00
|
|
|
text = "float"
|
2019-10-06 14:07:49 +02:00
|
|
|
items = [ "float", null, false, -1, null, "size", null, false, -1, null, "enum", null, false, -1, null, "boolean", null, false, -1, null, "color", null, false, -1, null, "gradient", null, false, -1, null ]
|
2018-10-09 07:24:44 +02:00
|
|
|
selected = 0
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="Types" type="HBoxContainer" parent="."]
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_left = 309.0
|
|
|
|
margin_right = 856.0
|
2019-10-06 14:07:49 +02:00
|
|
|
margin_bottom = 24.0
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="float" parent="Types" instance=ExtResource( 3 )]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="size" parent="Types" instance=ExtResource( 4 )]
|
2018-10-28 16:26:37 +01:00
|
|
|
visible = false
|
|
|
|
margin_left = 551.0
|
|
|
|
margin_right = 796.0
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="enum" parent="Types" instance=ExtResource( 5 )]
|
2018-10-09 07:24:44 +02:00
|
|
|
visible = false
|
2018-10-28 16:26:37 +01:00
|
|
|
margin_left = 800.0
|
|
|
|
margin_right = 839.0
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="boolean" parent="Types" instance=ExtResource( 6 )]
|
2018-10-28 16:26:37 +01:00
|
|
|
margin_left = 843.0
|
|
|
|
margin_right = 917.0
|
2018-10-13 17:31:37 +02:00
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="color" parent="Types" instance=ExtResource( 7 )]
|
2018-10-28 17:06:42 +01:00
|
|
|
visible = false
|
|
|
|
margin_left = 551.0
|
|
|
|
margin_right = 563.0
|
|
|
|
|
2019-08-09 08:16:24 +02:00
|
|
|
[node name="gradient" parent="Types" instance=ExtResource( 8 )]
|
|
|
|
visible = false
|
|
|
|
margin_left = 551.0
|
|
|
|
margin_right = 725.0
|
|
|
|
margin_bottom = 30.0
|
2018-10-09 07:24:44 +02:00
|
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
2019-10-26 13:51:15 +02:00
|
|
|
[connection signal="pressed" from="Up" to="." method="_on_Up_pressed"]
|
|
|
|
[connection signal="pressed" from="Down" to="." method="_on_Down_pressed"]
|
2018-10-26 22:44:47 +02:00
|
|
|
[connection signal="item_selected" from="Type" to="." method="_on_Type_item_selected"]
|