Scene watcher window

This commit is contained in:
Vojta committed 2025-02-14 15:48:48 +01:00
1 parent f62e1aee25
commit 3885a7eedb
3 files changed
+23 -2

No files matched your search

+21 -1
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://27pb62xwsqd8"]
[gd_scene load_steps=13 format=3 uid="uid://27pb62xwsqd8"]
[ext_resource type="PackedScene" uid="uid://b5x7fmpwck335" path="res://hud.tscn" id="1_mmt1i"]
[ext_resource type="MeshLibrary" uid="uid://bedqgubx1g1uf" path="res://prototypes.tres" id="2_vdsn8"]
@@ -25,6 +25,9 @@ glow_enabled = true
[sub_resource type="BoxShape3D" id="BoxShape3D_cgnft"]
size = Vector3(2, 2, 0.5)
[sub_resource type="ViewportTexture" id="ViewportTexture_mmt1i"]
viewport_path = NodePath("SubViewport")
[node name="level_3rooms" type="Node3D"]
[node name="HUD" parent="." instance=ExtResource("1_mmt1i")]
@@ -104,3 +107,20 @@ omni_range = 4.0
[node name="PortalEnvironmentAdapter" type="Node" parent="." node_paths=PackedStringArray("base")]
script = ExtResource("7_2gewm")
base = NodePath("../WorldEnvironment")
[node name="Window" type="Window" parent="."]
title = "Scene overview"
initial_position = 3
size = Vector2i(1920, 1080)
current_screen = 1
[node name="TextureRect" type="TextureRect" parent="Window"]
offset_right = 40.0
offset_bottom = 40.0
texture = SubResource("ViewportTexture_mmt1i")
[node name="SubViewport" type="SubViewport" parent="."]
size = Vector2i(1920, 1080)
[node name="Camera3D" type="Camera3D" parent="SubViewport"]
transform = Transform3D(-0.69337, -0.493312, 0.525244, 0, 0.728917, 0.684602, -0.720582, 0.474683, -0.505409, 2.78382, 9.04787, -3.54716)