[gd_scene load_steps=7 format=3 uid="uid://d04fmtjhjx4oy"]

[ext_resource type="Script" path="res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DLabel.gd" id="1"]
[ext_resource type="Theme" uid="uid://dvcjel72een6o" path="res://OQ_Toolkit/OQ_UI2D/theme/oq_ui2d_standard.theme" id="2"]
[ext_resource type="Script" path="res://OQ_Toolkit/OQ_UI2D/scripts/update_viewport_once.gd" id="3_ryc7t"]

[sub_resource type="ViewportTexture" id="ViewportTexture_rd8hc"]
viewport_path = NodePath("SubViewport")

[sub_resource type="StandardMaterial3D" id="2"]
resource_local_to_scene = true
cull_mode = 2
shading_mode = 0
albedo_texture = SubResource("ViewportTexture_rd8hc")

[sub_resource type="QuadMesh" id="3"]
resource_local_to_scene = true
size = Vector2(0.129883, 0.0498047)

[node name="OQ_UILabel" type="Node3D"]
script = ExtResource("1")
text = "I am a Label..."

[node name="update_once" type="Node" parent="."]
script = ExtResource("3_ryc7t")

[node name="SubViewport" type="SubViewport" parent="."]
disable_3d = true
own_world_3d = true
transparent_bg = true
gui_embed_subwindows = true
size = Vector2i(133, 51)
render_target_update_mode = 4

[node name="ColorRect" type="ColorRect" parent="SubViewport"]
offset_right = 133.0
offset_bottom = 51.0
theme = ExtResource("2")
color = Color(0, 0, 0, 1)

[node name="CenterContainer" type="CenterContainer" parent="SubViewport/ColorRect"]
layout_mode = 0
offset_right = 133.0
offset_bottom = 51.0
theme = ExtResource("2")

[node name="Label" type="Label" parent="SubViewport/ColorRect/CenterContainer"]
layout_mode = 2
theme = ExtResource("2")
theme_override_colors/font_color = Color(1, 1, 1, 1)
text = "I am a Label..."

[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
layers = 3
material_override = SubResource("2")
cast_shadow = 0
mesh = SubResource("3")
