From 9d3f8418ca252a4047b3818f16ed22228c1d0071 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Sat, 4 Nov 2017 11:50:05 +1100 Subject: Removed add/remove interface bindings and added get_interfaces --- doc/classes/ARVRInterface.xml | 4 ++-- doc/classes/ARVRServer.xml | 25 +++++++------------------ 2 files changed, 9 insertions(+), 20 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/ARVRInterface.xml b/doc/classes/ARVRInterface.xml index 9aed6c96ef..d7962ae5c3 100644 --- a/doc/classes/ARVRInterface.xml +++ b/doc/classes/ARVRInterface.xml @@ -33,7 +33,7 @@ Returns the name of this interface (OpenVR, OpenHMD, ARKit, etc). - + @@ -139,7 +139,7 @@ This interface support AR (video background and real world tracking). - This interface outputs to an external device, if the main viewport is used the on screen output is an unmodified buffer of either the left or right eye (stretched if the viewport size is not changed to the same aspect ratio of get_recommended_render_targetsize. Using a seperate viewport node frees up the main viewport for other purposes. + This interface outputs to an external device, if the main viewport is used the on screen output is an unmodified buffer of either the left or right eye (stretched if the viewport size is not changed to the same aspect ratio of get_render_targetsize. Using a seperate viewport node frees up the main viewport for other purposes. Mono output, this is mostly used internally when retrieving positioning information for our camera node or when stereo scopic rendering is not supported. diff --git a/doc/classes/ARVRServer.xml b/doc/classes/ARVRServer.xml index bb7ac2c052..705abf2e94 100644 --- a/doc/classes/ARVRServer.xml +++ b/doc/classes/ARVRServer.xml @@ -11,15 +11,6 @@ - - - - - - - Mostly exposed for GDNative based interfaces, this is called to register an available interface with the AR/VR server. - - @@ -61,6 +52,13 @@ Get the number of interfaces currently registered with the AR/VR server. If you're game supports multiple AR/VR platforms you can look throught the available interface and either present the user with a selection or simply try an initialize each interface and use the first one that returns true. + + + + + Returns a list of available interfaces with both id and name of the interface. + + @@ -91,15 +89,6 @@ Returns our world scale (see ARVROrigin for more information). - - - - - - - Removes a registered interface, again exposed mostly for GDNative based interfaces. - - -- cgit v1.2.3