summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2022-07-29 14:18:05 +1000
committerBastiaan Olij <mux213@gmail.com>2022-10-13 13:48:52 +1100
commit3a4866bba42d5652272c04252a707847a50bff34 (patch)
treec021626d100f08a0791aa0407bd13ad2c725b9b8 /doc
parent42ebc4ef65093ac7bb4e1785054e4632d3ddc9bc (diff)
Add current setting to XROrigin3D and fix double positioning HMD
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/XROrigin3D.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/XROrigin3D.xml b/doc/classes/XROrigin3D.xml
index 7acee097e7..506d0fce41 100644
--- a/doc/classes/XROrigin3D.xml
+++ b/doc/classes/XROrigin3D.xml
@@ -13,6 +13,9 @@
<link title="XR documentation index">$DOCS_URL/tutorials/xr/index.html</link>
</tutorials>
<members>
+ <member name="current" type="bool" setter="set_current" getter="is_current" default="false">
+ Is this XROrigin3D node the current origin used by the [XRServer]?
+ </member>
<member name="world_scale" type="float" setter="set_world_scale" getter="get_world_scale" default="1.0">
Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 real world meter.
[b]Note:[/b] This method is a passthrough to the [XRServer] itself.