-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_ui.tscn
34 lines (26 loc) · 1.26 KB
/
example_ui.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
[gd_scene load_steps=8 format=3 uid="uid://6r2va4v86fmv"]
[ext_resource type="PackedScene" uid="uid://clujaf3u776a3" path="res://addons/godot-xr-tools/objects/viewport_2d_in_3d.tscn" id="1_a4d7u"]
[ext_resource type="Script" path="res://example_ui.gd" id="2_birfw"]
[ext_resource type="PackedScene" uid="uid://rsmkmmr0n0ot" path="res://example_ui_content.tscn" id="2_fs4ld"]
[sub_resource type="QuadMesh" id="QuadMesh_yrugi"]
resource_local_to_scene = true
size = Vector2(3, 2)
[sub_resource type="ViewportTexture" id="ViewportTexture_uvewc"]
viewport_path = NodePath("Viewport")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_f2lj7"]
transparency = 1
cull_mode = 2
albedo_texture = SubResource("ViewportTexture_uvewc")
texture_filter = 1
[sub_resource type="BoxShape3D" id="BoxShape3D_kn54s"]
resource_local_to_scene = true
size = Vector3(3, 2, 0.02)
[node name="ExampleUI" instance=ExtResource("1_a4d7u")]
script = ExtResource("2_birfw")
scene = ExtResource("2_fs4ld")
scene_properties_keys = PackedStringArray()
[node name="Screen" parent="." index="1"]
mesh = SubResource("QuadMesh_yrugi")
surface_material_override/0 = SubResource("StandardMaterial3D_f2lj7")
[node name="CollisionShape3D" parent="StaticBody3D" index="0"]
shape = SubResource("BoxShape3D_kn54s")