diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-10-14 09:45:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 09:45:00 +0200 |
commit | 5f4aa11c6264ebea0b3a62418ce4733e21053247 (patch) | |
tree | cdd928543dcb80f7a5d16de79ac496911f0a4090 /doc/classes/XROrigin3D.xml | |
parent | 926429392a73a0c2261bc4ed4503c99025842d7c (diff) | |
parent | 3a4866bba42d5652272c04252a707847a50bff34 (diff) |
Merge pull request #63607 from BastiaanOlij/fix_xr_origin
Add current setting to XROrigin3D and fix double positioning HMD
Diffstat (limited to 'doc/classes/XROrigin3D.xml')
-rw-r--r-- | doc/classes/XROrigin3D.xml | 3 |
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. |