godot-third-person-basic-scene/maps/objects/panel.tscn

33 lines
1.1 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://damn2u4n5ien"]
[ext_resource type="PackedScene" uid="uid://dwk6kjtpu1w07" path="res://maps/imports/panel.gltf" id="1_2vsan"]
[sub_resource type="ViewportTexture" id="ViewportTexture_mq4m0"]
viewport_path = NodePath("panel2/Node3D/SubViewport")
[node name="panel" instance=ExtResource( "1_2vsan" )]
[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
size = Vector2i(140, 60)
size_2d_override_stretch = true
render_target_update_mode = 3
[node name="Label" type="Label" parent="panel2/Node3D/SubViewport" index="0"]
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "Ceci est un texte"
horizontal_alignment = 1
vertical_alignment = 1
__meta__ = {
"_edit_use_custom_anchors": false
}
[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.036835)
texture = SubResource( "ViewportTexture_mq4m0" )