35 lines
868 B
Plaintext
35 lines
868 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://material_maker/panels/reference/gradient_slot.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="Shader" id=1]
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
resource_local_to_scene = true
|
|
shader = SubResource( 1 )
|
|
|
|
[node name="GradientSlot" type="ColorRect"]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
color = Color( 1, 1, 1, 0 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
material = SubResource( 2 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 3.0
|
|
margin_top = 3.0
|
|
margin_right = -3.0
|
|
margin_bottom = -3.0
|
|
mouse_filter = 2
|
|
color = Color( 0.501961, 0.501961, 0.501961, 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
[connection signal="gui_input" from="." to="." method="_on_ColorSlot_gui_input"]
|