material-maker/addons/material_maker/nodes/custom.tscn

53 lines
1.6 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://addons/material_maker/nodes/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/load.png" type="Texture" id=3]
[ext_resource path="res://addons/material_maker/icons/save.png" type="Texture" id=4]
[node name="Custom" type="GraphNode"]
margin_left = 1.0
margin_top = 2.0
margin_right = 95.0
margin_bottom = 53.0
mouse_filter = 1
title = "Custom"
show_close = true
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 )
model = null
[node name="CustomNodeButtons" type="HBoxContainer" parent="."]
margin_left = 16.0
margin_top = 24.0
margin_right = 107.0
margin_bottom = 46.0
[node name="Edit" type="Button" parent="CustomNodeButtons"]
margin_right = 27.0
margin_bottom = 22.0
icon = ExtResource( 2 )
flat = true
[node name="Load" type="Button" parent="CustomNodeButtons"]
margin_left = 31.0
margin_right = 59.0
margin_bottom = 22.0
icon = ExtResource( 3 )
flat = true
[node name="Save" type="Button" parent="CustomNodeButtons"]
margin_left = 63.0
margin_right = 91.0
margin_bottom = 22.0
icon = ExtResource( 4 )
flat = true
[connection signal="pressed" from="CustomNodeButtons/Edit" to="." method="_on_Edit_pressed"]
[connection signal="pressed" from="CustomNodeButtons/Load" to="." method="_on_Load_pressed"]
[connection signal="pressed" from="CustomNodeButtons/Save" to="." method="_on_Save_pressed"]