mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
[gd_scene load_steps=6 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/icons.svg" type="Texture" id=2]
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
flags = 4
|
|
atlas = ExtResource( 2 )
|
|
region = Rect2( 0, 16, 16, 16 )
|
|
|
|
[sub_resource type="DynamicFontData" id=2]
|
|
font_path = "res://addons/material_maker/fonts/hack.ttf"
|
|
|
|
[sub_resource type="DynamicFont" id=3]
|
|
size = 12
|
|
font_data = SubResource( 2 )
|
|
|
|
[node name="Output" type="HBoxContainer"]
|
|
margin_right = 251.0
|
|
margin_bottom = 22.0
|
|
size_flags_horizontal = 3
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Delete" type="Button" parent="."]
|
|
margin_right = 28.0
|
|
margin_bottom = 25.0
|
|
icon = SubResource( 1 )
|
|
flat = true
|
|
|
|
[node name="Type" type="OptionButton" parent="."]
|
|
margin_left = 32.0
|
|
margin_right = 136.0
|
|
margin_bottom = 25.0
|
|
rect_min_size = Vector2( 102, 0 )
|
|
hint_tooltip = "Input flag"
|
|
text = "GreyScale"
|
|
items = [ "GreyScale", null, false, 0, null, "Color", null, false, 1, null, "RGBA", null, false, -1, null ]
|
|
selected = 0
|
|
|
|
[node name="Value" type="LineEdit" parent="."]
|
|
margin_left = 140.0
|
|
margin_right = 251.0
|
|
margin_bottom = 25.0
|
|
hint_tooltip = "Default value"
|
|
size_flags_horizontal = 3
|
|
custom_fonts/font = SubResource( 3 )
|
|
text = "0.0"
|
|
context_menu_enabled = false
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|