mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
0d85cd5aef
Custom nodes now support outputs and basic (float) parameters, and are serialized/deserialized correctly.
106 lines
2.4 KiB
Plaintext
106 lines
2.4 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://addons/material_maker/widgets/node_editor/output.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/material_maker/icons/minus.png" type="Texture" id=2]
|
|
|
|
[node name="Output" type="HBoxContainer"]
|
|
|
|
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 = 3
|
|
size_flags_vertical = 1
|
|
alignment = 0
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Size Flags" ]
|
|
|
|
[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="Type" type="OptionButton" 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 = 134.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 102, 0 )
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
hint_tooltip = "Input flag"
|
|
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 = "GreyScale"
|
|
flat = false
|
|
align = 0
|
|
items = [ "GreyScale", null, false, 0, null, "Color", null, false, 1, null ]
|
|
selected = 0
|
|
_sections_unfolded = [ "Focus", "Hint", "Rect" ]
|
|
|
|
[node name="Default" type="LineEdit" parent="." index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 138.0
|
|
margin_right = 201.0
|
|
margin_bottom = 24.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
hint_tooltip = "Default value"
|
|
focus_mode = 2
|
|
mouse_filter = 0
|
|
mouse_default_cursor_shape = 1
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "0.0"
|
|
focus_mode = 2
|
|
context_menu_enabled = true
|
|
placeholder_alpha = 0.6
|
|
caret_blink = false
|
|
caret_blink_speed = 0.65
|
|
caret_position = 0
|
|
_sections_unfolded = [ "Hint", "Rect", "Size Flags" ]
|
|
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
|
|
|
|