diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-23 00:59:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 00:59:09 +0100 |
commit | 7d9b7f9c47a7de5416986a1d989040144253a5fe (patch) | |
tree | 96ae120588c2357378e518f901a08b90e4891d6e /doc/classes/ARVRServer.xml | |
parent | cadad4848205f60fca9dd0849bc16680c5ef8881 (diff) | |
parent | 6fd51b6a1b1467937126334f9ffd7be3d3efbad0 (diff) |
Merge pull request #14897 from BastiaanOlij/arvr_tweaks
Few small tweaks for ARVR
Diffstat (limited to 'doc/classes/ARVRServer.xml')
-rw-r--r-- | doc/classes/ARVRServer.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/classes/ARVRServer.xml b/doc/classes/ARVRServer.xml index 17202c8c2c..ffe6c35240 100644 --- a/doc/classes/ARVRServer.xml +++ b/doc/classes/ARVRServer.xml @@ -14,7 +14,7 @@ <method name="center_on_hmd"> <return type="void"> </return> - <argument index="0" name="ignore_tilt" type="bool"> + <argument index="0" name="rotation_mode" type="bool"> </argument> <argument index="1" name="keep_height" type="bool"> </argument> @@ -154,5 +154,14 @@ <constant name="TRACKER_ANY" value="255" enum="TrackerType"> Used internally to select all trackers. </constant> + <constant name="RESET_FULL_ROTATION" value="0" enum="RotationMode"> + Fully reset the orientation of the HMD. Regardless of what direction the user is looking to in the real world. The user will look dead ahead in the virtual world. + </constant> + <constant name="RESET_BUT_KEEP_TILT" value="1" enum="RotationMode"> + Resets the orientation but keeps the tilt of the device. So if we're looking down, we keep looking down but heading will be reset. + </constant> + <constant name="DONT_RESET_ROTATION" value="2" enum="RotationMode"> + Does not reset the orientation of the HMD, only the position of the player gets centered. + </constant> </constants> </class> |