summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-08-01 00:06:47 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-08-01 00:06:47 +0200
commit3978628c6cc1227250fc6ed45c8d854d24c30c30 (patch)
tree07f008a3f68c8d7ed6b486e9daeeaa78a5d6c984
parente5035668b1a896631533a5dace994a833be8f532 (diff)
parent24b7d973fa1df18af5d2c356e74a92849a0e9863 (diff)
downloadredot-engine-3978628c6cc1227250fc6ed45c8d854d24c30c30.tar.gz
Merge pull request #94994 from dsnopek/mobilevr-interface-docs-use-xr
Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr`
-rw-r--r--modules/mobile_vr/doc_classes/MobileVRInterface.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml
index 0dbe06d220..61d802aea3 100644
--- a/modules/mobile_vr/doc_classes/MobileVRInterface.xml
+++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml
@@ -10,7 +10,7 @@
[codeblock]
var interface = XRServer.find_interface("Native mobile")
if interface and interface.initialize():
- get_viewport().xr = true
+ get_viewport().use_xr = true
[/codeblock]
</description>
<tutorials>