56 lines
1.9 KiB
Text
56 lines
1.9 KiB
Text
[gd_scene load_steps=4 format=3 uid="uid://b2vv2knvetbwf"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dwk6kjtpu1w07" path="res://maps/imports/panel.gltf" id="1_2vsan"]
|
|
[ext_resource type="Script" path="res://maps/objects/panel-mega.gd" id="2_xmls6"]
|
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_mq4m0"]
|
|
viewport_path = NodePath("panel2/Node3D/SubViewport")
|
|
|
|
[node name="panel_meta" instance=ExtResource( "1_2vsan" )]
|
|
script = ExtResource( "2_xmls6" )
|
|
|
|
[node name="Node3D" type="Node3D" parent="panel2" index="0"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.82178, 0)
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="panel2/Node3D" index="0"]
|
|
own_world_3d = true
|
|
transparent_bg = true
|
|
gui_embed_subwindows = true
|
|
size = Vector2i(140, 60)
|
|
size_2d_override_stretch = true
|
|
render_target_update_mode = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="panel2/Node3D/SubViewport" index="0"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
__meta__ = {
|
|
"_edit_use_custom_anchors": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="panel2/Node3D/SubViewport/VBoxContainer" index="0"]
|
|
offset_right = 1024.0
|
|
offset_bottom = 26.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(0.858824, 0.619608, 0.12549, 1)
|
|
theme_override_colors/font_shadow_color = Color(0.933333, 0, 0, 1)
|
|
text = "Ceci est un texte"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_custom_anchors": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="panel2/Node3D/SubViewport/VBoxContainer" index="1"]
|
|
offset_top = 30.0
|
|
offset_right = 1024.0
|
|
offset_bottom = 61.0
|
|
text = "Button ?"
|
|
|
|
[node name="Sprite3D" type="Sprite3D" parent="panel2/Node3D" index="1"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.722021, 0.1028)
|
|
texture = SubResource( "ViewportTexture_mq4m0" )
|
|
|
|
[connection signal="pressed" from="panel2/Node3D/SubViewport/VBoxContainer/Button" to="." method="_on_button_pressed"]
|