SummerDay/addons/summer_day/tool/canvas/canvas.tscn

86 lines
2.3 KiB
Plaintext
Raw Normal View History

2021-11-21 11:46:04 +01:00
[gd_scene load_steps=8 format=2]
2021-11-18 17:23:37 +01:00
[ext_resource path="res://addons/summer_day/tool/canvas/canvas.gd" type="Script" id=1]
[ext_resource path="res://Main.tscn" type="PackedScene" id=2]
[ext_resource path="res://addons/summer_day/tool/canvas/rendering/empty_canvas_layer.gd" type="Script" id=3]
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0.180392, 0.172549, 0.203922, 1 )
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color( 0.121569, 0.113725, 0.133333, 1 )
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[sub_resource type="GDScript" id=4]
script/source = "extends ViewportContainer
"
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[sub_resource type="Environment" id=1]
ambient_light_color = Color( 1, 1, 1, 1 )
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[sub_resource type="World" id=2]
environment = SubResource( 1 )
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="Canvas" type="PanelContainer"]
2021-11-18 17:23:37 +01:00
anchor_right = 1.0
anchor_bottom = 1.0
2021-11-21 11:46:04 +01:00
margin_left = 12.0
margin_top = 12.0
margin_right = -12.0
margin_bottom = -12.0
custom_styles/panel = SubResource( 3 )
2021-11-18 17:23:37 +01:00
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
2021-11-21 11:46:04 +01:00
[node name="Render" type="ViewportContainer" parent="."]
margin_left = 1.0
margin_top = 1.0
margin_right = 999.0
margin_bottom = 575.0
mouse_filter = 1
input_pass_on_modal_close_click = false
2021-11-21 11:46:04 +01:00
stretch = true
script = SubResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="BackgroundLayer" type="Viewport" parent="Render"]
size = Vector2( 998, 574 )
2021-11-18 17:23:37 +01:00
size_override_stretch = true
transparent_bg = true
handle_input_locally = false
usage = 0
render_target_update_mode = 3
2021-11-21 11:46:04 +01:00
gui_disable_input = true
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="EmptyCanvasLayer" type="Polygon2D" parent="Render/BackgroundLayer"]
2021-11-19 21:05:44 +01:00
script = ExtResource( 3 )
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="RenderLayer" type="Viewport" parent="Render"]
size = Vector2( 998, 574 )
2021-11-18 17:23:37 +01:00
world = SubResource( 2 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 3
2021-11-21 11:46:04 +01:00
gui_disable_input = true
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="Main" parent="Render/RenderLayer" instance=ExtResource( 2 )]
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="ForegroundLayer" type="Viewport" parent="Render"]
size = Vector2( 998, 574 )
2021-11-18 17:23:37 +01:00
transparent_bg = true
handle_input_locally = false
usage = 0
render_target_update_mode = 3
2021-11-21 11:46:04 +01:00
gui_disable_input = true
2021-11-18 17:23:37 +01:00
2021-11-21 11:46:04 +01:00
[node name="Label" type="Label" parent="Render"]
2021-11-18 17:23:37 +01:00
margin_right = 40.0
margin_bottom = 14.0
[connection signal="resized" from="." to="." method="_on_Canvas_resized"]