108 lines
2.5 KiB
Plaintext
108 lines
2.5 KiB
Plaintext
|
[gd_scene load_steps=4 format=2]
|
||
|
|
||
|
[ext_resource path="res://addons/material_maker/nodes/custom/custom.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://addons/material_maker/icons/edit.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://addons/material_maker/icons/save.png" type="Texture" id=3]
|
||
|
|
||
|
[node name="Custom" type="GraphNode" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 385.0
|
||
|
margin_top = 287.0
|
||
|
margin_right = 479.0
|
||
|
margin_bottom = 338.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
|
||
|
title = "Custom"
|
||
|
offset = Vector2( 0, 0 )
|
||
|
show_close = true
|
||
|
resizable = false
|
||
|
selected = false
|
||
|
comment = false
|
||
|
overlay = 0
|
||
|
slot/0/left_enabled = false
|
||
|
slot/0/left_type = 0
|
||
|
slot/0/left_color = Color( 1, 1, 1, 1 )
|
||
|
slot/0/right_enabled = false
|
||
|
slot/0/right_type = 0
|
||
|
slot/0/right_color = Color( 1, 1, 1, 1 )
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="CustomNodeButtons" type="HBoxContainer" parent="." index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 16.0
|
||
|
margin_top = 24.0
|
||
|
margin_right = 78.0
|
||
|
margin_bottom = 46.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="Edit" type="Button" parent="CustomNodeButtons" index="0"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_right = 27.0
|
||
|
margin_bottom = 22.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="Save" type="Button" parent="CustomNodeButtons" index="1"]
|
||
|
|
||
|
anchor_left = 0.0
|
||
|
anchor_top = 0.0
|
||
|
anchor_right = 0.0
|
||
|
anchor_bottom = 0.0
|
||
|
margin_left = 31.0
|
||
|
margin_right = 59.0
|
||
|
margin_bottom = 22.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( 3 )
|
||
|
flat = true
|
||
|
align = 1
|
||
|
|
||
|
[connection signal="pressed" from="CustomNodeButtons/Edit" to="." method="_on_Edit_pressed"]
|
||
|
|
||
|
[connection signal="pressed" from="CustomNodeButtons/Save" to="." method="_on_Save_pressed"]
|
||
|
|
||
|
|