From e0b703e3fe9da396f9ad0c8bd29bb61ab1ab0fdd Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Wed, 10 Apr 2019 00:14:10 +1000 Subject: Added eye_height, changed description and fixed size of viewport issue --- modules/mobile_vr/doc_classes/MobileVRInterface.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'modules/mobile_vr/doc_classes') diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml index 0a75ad4784..dbebaae38d 100644 --- a/modules/mobile_vr/doc_classes/MobileVRInterface.xml +++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml @@ -5,7 +5,13 @@ This is a generic mobile VR implementation where you need to provide details about the phone and HMD used. It does not rely on any existing framework. This is the most basic interface we have. For the best effect you do need a mobile phone with a gyroscope and accelerometer. - Note that even though there is no positional tracking the camera will assume the headset is at a height of 1.85 meters. + Note that even though there is no positional tracking the camera will assume the headset is at a height of 1.85 meters, you can change this by setting [member eye_height]. + You can initialise this interface as follows: + [codeblock] + var interface = ARVRServer.find_interface("Native mobile") + if interface and interface.initialize(): + get_viewport().arvr = true + [/codeblock] @@ -20,6 +26,9 @@ The width of the display in centimeters. + + The height at which the camera is placed in relation to the ground (i.e. [ARVROrigin] node). + The interocular distance, also known as the interpupillary distance. The distance between the pupils of the left and right eye. -- cgit v1.2.3