[gd_scene load_steps=8 format=2]

[ext_resource path="res://addons/summer_day/user_interface/canvas/canvas.gd" type="Script" id=1]
[ext_resource path="res://addons/summer_day/user_interface/canvas/mesh_container.gd" type="Script" id=2]

[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 )

[sub_resource type="GDScript" id=4]
script/source = "extends ViewportContainer
"

[sub_resource type="Environment" id=1]
ambient_light_color = Color( 1, 1, 1, 1 )

[sub_resource type="World" id=2]
environment = SubResource( 1 )

[sub_resource type="CanvasItemMaterial" id=5]
blend_mode = 3

[node name="Canvas" type="PanelContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 12.0
margin_top = 12.0
margin_right = -12.0
margin_bottom = -12.0
custom_styles/panel = SubResource( 3 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[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
stretch = true
script = SubResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="BackgroundLayer" type="Viewport" parent="Render" groups=["SummerDayCanvasTransform"]]
size = Vector2( 998, 574 )
size_override_stretch = true
transparent_bg = true
handle_input_locally = false
usage = 0
render_target_update_mode = 3
gui_disable_input = true

[node name="EmptyCanvasLayer" type="Polygon2D" parent="Render/BackgroundLayer" groups=["SummerDayCanvasPolygon"]]
polygon = PoolVector2Array( 0, 0, 1.77778, 0, 1.77778, 1, 0, 1 )

[node name="RenderLayer" type="Viewport" parent="Render" groups=["SummerDayCanvasTransform"]]
size = Vector2( 998, 574 )
world = SubResource( 2 )
transparent_bg = true
handle_input_locally = false
render_target_update_mode = 3
gui_disable_input = true

[node name="Container" type="Spatial" parent="Render/RenderLayer"]
script = ExtResource( 2 )

[node name="Camera" type="Camera" parent="Render/RenderLayer"]
projection = 1
current = true
near = 0.01

[node name="BorderShadow" type="Polygon2D" parent="Render/RenderLayer" groups=["SummerDayCanvasPolygon"]]
material = SubResource( 5 )
color = Color( 0.337255, 0.337255, 0.337255, 1 )
invert_enable = true
invert_border = 1000.0
polygon = PoolVector2Array( 0, 0, 1.77778, 0, 1.77778, 1, 0, 1 )

[node name="ForegroundLayer" type="Viewport" parent="Render" groups=["SummerDayCanvasTransform"]]
size = Vector2( 998, 574 )
transparent_bg = true
handle_input_locally = false
usage = 0
render_target_update_mode = 3
gui_disable_input = true

[node name="EditHints" type="ImmediateGeometry" parent="Render/ForegroundLayer"]

[node name="Label" type="Label" parent="Render"]
margin_right = 40.0
margin_bottom = 14.0

[connection signal="resized" from="." to="." method="_on_Canvas_resized"]
