Sync classref with current source

This commit is contained in:
Rémi Verschelde
2017-11-27 08:32:15 +01:00
parent 33f109ea70
commit 5bf33731b6
303 changed files with 2187 additions and 18408 deletions

View File

@@ -19,8 +19,6 @@ This is our AR/VR Server.
Member Functions
----------------
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`add_interface<class_ARVRServer_add_interface>` **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)** |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`center_on_hmd<class_ARVRServer_center_on_hmd>` **(** :ref:`bool<class_bool>` ignore_tilt, :ref:`bool<class_bool>` keep_height **)** |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
@@ -30,20 +28,16 @@ Member Functions
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_interface_count<class_ARVRServer_get_interface_count>` **(** **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_array>` | :ref:`get_interfaces<class_ARVRServer_get_interfaces>` **(** **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Transform<class_transform>` | :ref:`get_reference_frame<class_ARVRServer_get_reference_frame>` **(** **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`ARVRPositionalTracker<class_arvrpositionaltracker>` | :ref:`get_tracker<class_ARVRServer_get_tracker>` **(** :ref:`int<class_int>` idx **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_tracker_count<class_ARVRServer_get_tracker_count>` **(** **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_world_scale<class_ARVRServer_get_world_scale>` **(** **)** const |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`remove_interface<class_ARVRServer_remove_interface>` **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)** |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_primary_interface<class_ARVRServer_set_primary_interface>` **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)** |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_world_scale<class_ARVRServer_set_world_scale>` **(** :ref:`float<class_float>` arg0 **)** |
+------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------+
Signals
-------
@@ -99,12 +93,6 @@ The AR/VR Server is the heart of our AR/VR solution and handles all the processi
Member Function Description
---------------------------
.. _class_ARVRServer_add_interface:
- void **add_interface** **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)**
Mostly exposed for GDNative based interfaces, this is called to register an available interface with the AR/VR server.
.. _class_ARVRServer_center_on_hmd:
- void **center_on_hmd** **(** :ref:`bool<class_bool>` ignore_tilt, :ref:`bool<class_bool>` keep_height **)**
@@ -139,6 +127,12 @@ Get the interface registered at a given index in our list of interfaces.
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.
.. _class_ARVRServer_get_interfaces:
- :ref:`Array<class_array>` **get_interfaces** **(** **)** const
Returns a list of available interfaces with both id and name of the interface.
.. _class_ARVRServer_get_reference_frame:
- :ref:`Transform<class_transform>` **get_reference_frame** **(** **)** const
@@ -157,28 +151,10 @@ Get the positional tracker at the given ID.
Get the number of trackers currently registered.
.. _class_ARVRServer_get_world_scale:
- :ref:`float<class_float>` **get_world_scale** **(** **)** const
Returns our world scale (see ARVROrigin for more information).
.. _class_ARVRServer_remove_interface:
- void **remove_interface** **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)**
Removes a registered interface, again exposed mostly for GDNative based interfaces.
.. _class_ARVRServer_set_primary_interface:
- void **set_primary_interface** **(** :ref:`ARVRInterface<class_arvrinterface>` interface **)**
Changes the primary interface to the specified interface. Again mostly exposed for GDNative interfaces.
.. _class_ARVRServer_set_world_scale:
- void **set_world_scale** **(** :ref:`float<class_float>` arg0 **)**
Changing the world scale, see the ARVROrigin documentation for more information.