summaryrefslogtreecommitdiff
path: root/doc/classes/Viewport.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-01 12:54:35 +0200
committerGitHub <noreply@github.com>2021-05-01 12:54:35 +0200
commitf3c1190dc9cb90f5faa40d87a52a3af89e0de049 (patch)
treea06e4fc27cc981d7cd3637d39703c58fe8a6cfe3 /doc/classes/Viewport.xml
parent4a7679e4dd9f68270b3d27797146f88491f182b8 (diff)
parente0bdf40d153983f63e151affabffb54e1b951112 (diff)
Merge pull request #48283 from BastiaanOlij/xr_viewport
Move XR flag from subviewport into viewport
Diffstat (limited to 'doc/classes/Viewport.xml')
-rw-r--r--doc/classes/Viewport.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml
index cce5705379..1c33274cb0 100644
--- a/doc/classes/Viewport.xml
+++ b/doc/classes/Viewport.xml
@@ -269,6 +269,9 @@
</member>
<member name="use_occlusion_culling" type="bool" setter="set_use_occlusion_culling" getter="is_using_occlusion_culling" default="false">
</member>
+ <member name="use_xr" type="bool" setter="set_use_xr" getter="is_using_xr" default="false">
+ If [code]true[/code], the viewport will use the primary XR interface to render XR output. When applicable this can result in a stereoscopic image and the resulting render being output to a headset.
+ </member>
<member name="world_2d" type="World2D" setter="set_world_2d" getter="get_world_2d">
The custom [World2D] which can be used as 2D environment source.
</member>