Added dual windows for VR and surface side display

This commit is contained in:
2026-04-28 17:45:36 +01:00
parent 40491706b7
commit 5a19d26b86
4 changed files with 39 additions and 0 deletions

9
scenes/Main Display.tscn Normal file
View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://bx8vjd7wodbv"]
[node name="MainDisplay" type="Control" unique_id=735638234]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

9
scenes/VR Display.tscn Normal file
View File

@@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://dw0xklwrhh2tb"]
[node name="VrDisplay" type="Control" unique_id=268348987]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

14
scenes/root.tscn Normal file
View File

@@ -0,0 +1,14 @@
[gd_scene format=3 uid="uid://63m7uewe6luk"]
[ext_resource type="PackedScene" uid="uid://dw0xklwrhh2tb" path="res://scenes/VR Display.tscn" id="1_twpsu"]
[ext_resource type="PackedScene" uid="uid://bx8vjd7wodbv" path="res://scenes/Main Display.tscn" id="2_lrqlo"]
[node name="Node" type="Node" unique_id=60206333]
[node name="Window" type="Window" parent="." unique_id=1275852182]
oversampling_override = 1.0
position = Vector2i(0, 36)
[node name="VrDisplay" parent="Window" unique_id=268348987 instance=ExtResource("1_twpsu")]
[node name="MainDisplay" parent="." unique_id=735638234 instance=ExtResource("2_lrqlo")]