Files
godot-demo-projects/plugins/addons/material_creator/material_dock.tscn
2023-01-05 16:50:17 +01:00

107 lines
2.6 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://n44d53us24uu"]
[ext_resource type="Script" path="res://addons/material_creator/material_creator.gd" id="1"]
[node name="Material Creator Plugin" type="Panel"]
offset_right = 220.0
offset_bottom = 340.0
script = ExtResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -100.0
offset_right = 100.0
grow_horizontal = 2
grow_vertical = 2
[node name="DockName" type="Label" parent="VBoxContainer"]
offset_right = 200.0
offset_bottom = 26.0
text = "Material creator"
[node name="AlbedoLabel" type="Label" parent="VBoxContainer"]
offset_top = 30.0
offset_right = 200.0
offset_bottom = 56.0
text = "Albedo color"
[node name="AlbedoColorPicker" type="ColorPickerButton" parent="VBoxContainer"]
offset_top = 60.0
offset_right = 200.0
offset_bottom = 68.0
color = Color(1, 1, 1, 1)
[node name="MetallicLabel" type="Label" parent="VBoxContainer"]
offset_top = 72.0
offset_right = 200.0
offset_bottom = 98.0
text = "Metallic strength"
[node name="MetallicSlider" type="HSlider" parent="VBoxContainer"]
offset_top = 102.0
offset_right = 200.0
offset_bottom = 118.0
max_value = 1.0
step = 0.05
[node name="RoughnessLabel" type="Label" parent="VBoxContainer"]
offset_top = 122.0
offset_right = 200.0
offset_bottom = 148.0
text = "Roughness strength"
[node name="RoughnessSlider" type="HSlider" parent="VBoxContainer"]
offset_top = 152.0
offset_right = 200.0
offset_bottom = 168.0
max_value = 1.0
step = 0.05
ticks_on_borders = true
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
offset_top = 172.0
offset_right = 200.0
offset_bottom = 176.0
[node name="ApplyButton" type="Button" parent="VBoxContainer"]
offset_top = 180.0
offset_right = 200.0
offset_bottom = 211.0
text = "Apply material"
[node name="SaveButton" type="Button" parent="VBoxContainer"]
offset_top = 215.0
offset_right = 200.0
offset_bottom = 246.0
text = "Save material"
[node name="LoadButton" type="Button" parent="VBoxContainer"]
offset_top = 250.0
offset_right = 200.0
offset_bottom = 281.0
text = "Load material"
clip_text = true
[node name="Label" type="Label" parent="VBoxContainer/LoadButton"]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
text = "Load silly material and
apply to selected node(s)"
[node name="SaveMaterialDialog" type="FileDialog" parent="."]
filters = PackedStringArray("*.silly_mat")
[node name="LoadMaterialDialog" type="FileDialog" parent="."]
title = "Open a File"
ok_button_text = "Open"
file_mode = 0
filters = PackedStringArray("*.silly_mat")