Added dual windows for VR and surface side display
This commit is contained in:
@@ -11,9 +11,16 @@ config_version=5
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="SurfaceSide-UI"
|
config/name="SurfaceSide-UI"
|
||||||
|
run/main_scene="uid://63m7uewe6luk"
|
||||||
config/features=PackedStringArray("4.6", "Forward Plus")
|
config/features=PackedStringArray("4.6", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/size/mode=2
|
||||||
|
window/subwindows/embed_subwindows=false
|
||||||
|
window/vsync/vsync_mode=3
|
||||||
|
|
||||||
[physics]
|
[physics]
|
||||||
|
|
||||||
3d/physics_engine="Jolt Physics"
|
3d/physics_engine="Jolt Physics"
|
||||||
|
|||||||
9
scenes/Main Display.tscn
Normal file
9
scenes/Main Display.tscn
Normal 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
9
scenes/VR Display.tscn
Normal 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
14
scenes/root.tscn
Normal 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")]
|
||||||
Reference in New Issue
Block a user