File size: 1,073 Bytes
c21eb24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[gd_scene load_steps=3 format=2]

[ext_resource path="res://VirtualCamera.gd" type="Script" id=1]

[sub_resource type="ViewportTexture" id=1]
viewport_path = NodePath("Viewport")

[node name="VirtualCamera" type="Spatial"]
script = ExtResource( 1 )

[node name="RemoteTransform" type="RemoteTransform" parent="."]
remote_path = NodePath("../Viewport/Camera")

[node name="Viewport" type="Viewport" parent="."]
size = Vector2( 16, 16 )
render_target_update_mode = 3

[node name="Camera" type="Camera" parent="Viewport"]
near = 0.5

[node name="Control" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TextureRect" type="ColorRect" parent="Control"]
margin_left = 1096.0
margin_top = 534.0
margin_right = 1114.0
margin_bottom = 552.0
rect_scale = Vector2( 10, 10 )
color = Color( 0.00784314, 0.00784314, 0.00784314, 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="CameraTexture" type="Sprite" parent="Control/TextureRect"]
texture = SubResource( 1 )
offset = Vector2( 9, 9 )
flip_v = true