2018-10-28 17:06:42 +01:00
|
|
|
[gd_scene load_steps=8 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]
|
|
|
|
[ext_resource path="res://addons/material_maker/icons/minus.png" 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]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
[node name="Parameter" type="HBoxContainer" index="0"]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 201.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
alignment = 0
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Delete" type="Button" parent="." index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_right = 28.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
icon = ExtResource( 2 )
|
|
|
|
flat = true
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="Name" type="LineEdit" parent="." index="1"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 32.0
|
|
|
|
margin_right = 102.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 1
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
text = "name"
|
|
|
|
focus_mode = 2
|
|
|
|
context_menu_enabled = true
|
|
|
|
placeholder_alpha = 0.6
|
|
|
|
caret_blink = false
|
|
|
|
caret_blink_speed = 0.65
|
|
|
|
caret_position = 0
|
|
|
|
_sections_unfolded = [ "Rect" ]
|
|
|
|
|
|
|
|
[node name="Label" type="LineEdit" parent="." index="2"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 106.0
|
|
|
|
margin_right = 176.0
|
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_min_size = Vector2( 70, 0 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 1
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
text = "Label"
|
|
|
|
focus_mode = 2
|
|
|
|
context_menu_enabled = true
|
|
|
|
placeholder_alpha = 0.6
|
|
|
|
caret_blink = false
|
|
|
|
caret_blink_speed = 0.65
|
|
|
|
caret_position = 0
|
|
|
|
_sections_unfolded = [ "Rect" ]
|
|
|
|
|
|
|
|
[node name="Type" type="OptionButton" parent="." index="3"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 180.0
|
2018-10-28 17:06:42 +01:00
|
|
|
margin_right = 247.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
action_mode = 0
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
2018-10-28 17:06:42 +01:00
|
|
|
text = "float"
|
2018-10-09 07:24:44 +02:00
|
|
|
flat = false
|
|
|
|
align = 0
|
2018-10-28 17:06:42 +01:00
|
|
|
items = [ "float", null, false, -1, null, "size", null, false, -1, null, "enum", null, false, -1, null, "boolean", null, false, -1, null ]
|
2018-10-09 07:24:44 +02:00
|
|
|
selected = 0
|
|
|
|
|
|
|
|
[node name="Types" type="HBoxContainer" parent="." index="4"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
2018-10-28 17:06:42 +01:00
|
|
|
margin_left = 251.0
|
|
|
|
margin_right = 251.0
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_bottom = 24.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
alignment = 0
|
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
[node name="float" parent="Types" index="0" instance=ExtResource( 3 )]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
|
|
|
visible = false
|
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
[node name="size" parent="Types" index="1" instance=ExtResource( 4 )]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
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
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
[node name="enum" parent="Types" index="2" 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
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
[node name="boolean" parent="Types" index="3" instance=ExtResource( 6 )]
|
2018-10-13 17:31:37 +02:00
|
|
|
|
2018-10-28 16:26:37 +01:00
|
|
|
margin_left = 843.0
|
|
|
|
margin_right = 917.0
|
2018-10-13 17:31:37 +02:00
|
|
|
|
2018-10-28 17:06:42 +01:00
|
|
|
[node name="color" parent="Types" index="4" instance=ExtResource( 7 )]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
margin_left = 551.0
|
|
|
|
margin_right = 563.0
|
|
|
|
|
2018-10-09 07:24:44 +02:00
|
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
|
|
|
|
2018-10-26 22:44:47 +02:00
|
|
|
[connection signal="item_selected" from="Type" to="." method="_on_Type_item_selected"]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
|
|
|
|