mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
499 lines
10 KiB
Plaintext
499 lines
10 KiB
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[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]
|
||
|
|
||
|
[node name="Parameter" type="HBoxContainer" index="0"]
|
||
|
|
||
|
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
|
||
|
margin_right = 250.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
|
||
|
action_mode = 0
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
text = "Float"
|
||
|
flat = false
|
||
|
align = 0
|
||
|
items = [ "Float", null, false, 0, null, "Size", null, false, 1, null, "Enum", null, false, 2, null, "Boolean", null, false, 3, null ]
|
||
|
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
|
||
|
margin_left = 254.0
|
||
|
margin_right = 669.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
|
||
|
|
||
|
[node name="T0" type="HBoxContainer" parent="Types" index="0"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 415.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
|
||
|
_sections_unfolded = [ "Visibility" ]
|
||
|
|
||
|
[node name="LabelMin" type="Label" parent="Types/T0" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 28.0
|
||
|
margin_bottom = 19.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 4
|
||
|
text = "Min:"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
|
||
|
[node name="Min" type="SpinBox" parent="Types/T0" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 32.0
|
||
|
margin_right = 106.0
|
||
|
margin_bottom = 24.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 0
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 1
|
||
|
min_value = -65536.0
|
||
|
max_value = 65535.0
|
||
|
step = 0.0
|
||
|
page = 0.0
|
||
|
value = 0.0
|
||
|
exp_edit = false
|
||
|
rounded = false
|
||
|
editable = true
|
||
|
prefix = ""
|
||
|
suffix = ""
|
||
|
|
||
|
[node name="LabelMax" type="Label" parent="Types/T0" index="2"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 110.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 140.0
|
||
|
margin_bottom = 19.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 4
|
||
|
text = "Max:"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
|
||
|
[node name="Max" type="SpinBox" parent="Types/T0" index="3"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 144.0
|
||
|
margin_right = 218.0
|
||
|
margin_bottom = 24.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 0
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 1
|
||
|
min_value = -65536.0
|
||
|
max_value = 65535.0
|
||
|
step = 0.0
|
||
|
page = 0.0
|
||
|
value = 0.0
|
||
|
exp_edit = false
|
||
|
rounded = false
|
||
|
editable = true
|
||
|
prefix = ""
|
||
|
suffix = ""
|
||
|
|
||
|
[node name="LabelStep" type="Label" parent="Types/T0" index="4"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 222.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 254.0
|
||
|
margin_bottom = 19.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 4
|
||
|
text = "Step:"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
|
||
|
[node name="Step" type="SpinBox" parent="Types/T0" index="5"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 258.0
|
||
|
margin_right = 332.0
|
||
|
margin_bottom = 24.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 0
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 1
|
||
|
min_value = 0.0
|
||
|
max_value = 65535.0
|
||
|
step = 0.0
|
||
|
page = 0.0
|
||
|
value = 0.0
|
||
|
exp_edit = false
|
||
|
rounded = false
|
||
|
editable = true
|
||
|
prefix = ""
|
||
|
suffix = ""
|
||
|
|
||
|
[node name="SpinBox" type="CheckBox" parent="Types/T0" index="6"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 336.0
|
||
|
margin_right = 415.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 = true
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
text = "SpinBox"
|
||
|
flat = false
|
||
|
align = 0
|
||
|
|
||
|
[node name="T1" type="HBoxContainer" parent="Types" index="1"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
visible = false
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 148.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
|
||
|
|
||
|
[node name="LabelMin" type="Label" parent="Types/T1" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 28.0
|
||
|
margin_bottom = 19.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 4
|
||
|
text = "Min:"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
|
||
|
[node name="Min" type="OptionButton" parent="Types/T1" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 32.0
|
||
|
margin_right = 71.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
|
||
|
action_mode = 0
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
flat = false
|
||
|
align = 0
|
||
|
items = [ ]
|
||
|
selected = -1
|
||
|
|
||
|
[node name="LabelMax" type="Label" parent="Types/T1" index="2"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 75.0
|
||
|
margin_top = 5.0
|
||
|
margin_right = 105.0
|
||
|
margin_bottom = 19.0
|
||
|
rect_pivot_offset = Vector2( 0, 0 )
|
||
|
rect_clip_content = false
|
||
|
mouse_filter = 2
|
||
|
mouse_default_cursor_shape = 0
|
||
|
size_flags_horizontal = 1
|
||
|
size_flags_vertical = 4
|
||
|
text = "Max:"
|
||
|
percent_visible = 1.0
|
||
|
lines_skipped = 0
|
||
|
max_lines_visible = -1
|
||
|
|
||
|
[node name="Max" type="OptionButton" parent="Types/T1" index="3"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 109.0
|
||
|
margin_right = 148.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
|
||
|
action_mode = 0
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
flat = false
|
||
|
align = 0
|
||
|
items = [ ]
|
||
|
selected = -1
|
||
|
|
||
|
[node name="T2" type="HBoxContainer" parent="Types" index="2"]
|
||
|
|
||
|
editor/display_folded = true
|
||
|
visible = false
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 39.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
|
||
|
|
||
|
[node name="OptionButton" type="OptionButton" parent="Types/T2" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 39.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
|
||
|
action_mode = 0
|
||
|
enabled_focus_mode = 2
|
||
|
shortcut = null
|
||
|
group = null
|
||
|
flat = false
|
||
|
align = 0
|
||
|
items = [ ]
|
||
|
selected = -1
|
||
|
|
||
|
[node name="T3" type="HBoxContainer" parent="Types" index="3"]
|
||
|
|
||
|
visible = false
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.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
|
||
|
|
||
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
||
|
|
||
|
[connection signal="item_selected" from="Type" to="." method="_on_OptionButton_item_selected"]
|
||
|
|
||
|
|