-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPainting.tscn
65 lines (51 loc) · 1.77 KB
/
Painting.tscn
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Painting.gd" type="Script" id=1]
[sub_resource type="PlaneMesh" id=1]
size = Vector2( 1, 1 )
[sub_resource type="SpatialMaterial" id=2]
[sub_resource type="QuadMesh" id=3]
size = Vector2( 0.15, 0.1 )
[sub_resource type="ViewportTexture" id=4]
viewport_path = NodePath("Plaque/Viewport")
[sub_resource type="SpatialMaterial" id=5]
resource_local_to_scene = true
albedo_texture = SubResource( 4 )
[node name="Painting" type="Spatial"]
script = ExtResource( 1 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 2 )
[node name="Plaque" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.583018, 0, 0 )
mesh = SubResource( 3 )
material/0 = SubResource( 5 )
[node name="Viewport" type="Viewport" parent="Plaque"]
size = Vector2( 150, 100 )
render_target_v_flip = true
[node name="VBoxContainer" type="VBoxContainer" parent="Plaque/Viewport"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 10.0
margin_top = 10.0
margin_right = 10.0
margin_bottom = 10.0
[node name="Artist" type="Label" parent="Plaque/Viewport/VBoxContainer"]
margin_right = 150.0
margin_bottom = 14.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Van Gogh"
[node name="Title" type="Label" parent="Plaque/Viewport/VBoxContainer"]
margin_top = 18.0
margin_right = 150.0
margin_bottom = 32.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "test"
autowrap = true
[node name="Description" type="Label" parent="Plaque/Viewport/VBoxContainer"]
margin_top = 36.0
margin_right = 150.0
margin_bottom = 50.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "Oil on canvas."
autowrap = true