Sync classref with current source

This commit is contained in:
Rémi Verschelde
2019-07-02 14:03:23 +02:00
parent 5402f28f59
commit a203daa272
397 changed files with 21934 additions and 16529 deletions

View File

@@ -19,11 +19,11 @@ The AR/VR server.
Properties
----------
+-------------------------------------------+-----------------------------------------------------------------------+
| :ref:`ARVRInterface<class_ARVRInterface>` | :ref:`primary_interface<class_ARVRServer_property_primary_interface>` |
+-------------------------------------------+-----------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`world_scale<class_ARVRServer_property_world_scale>` |
+-------------------------------------------+-----------------------------------------------------------------------+
+-------------------------------------------+-----------------------------------------------------------------------+------+
| :ref:`ARVRInterface<class_ARVRInterface>` | :ref:`primary_interface<class_ARVRServer_property_primary_interface>` | null |
+-------------------------------------------+-----------------------------------------------------------------------+------+
| :ref:`float<class_float>` | :ref:`world_scale<class_ARVRServer_property_world_scale>` | 1.0 |
+-------------------------------------------+-----------------------------------------------------------------------+------+
Methods
-------
@@ -140,21 +140,25 @@ Property Descriptions
- :ref:`ARVRInterface<class_ARVRInterface>` **primary_interface**
+----------+------------------------------+
| *Setter* | set_primary_interface(value) |
+----------+------------------------------+
| *Getter* | get_primary_interface() |
+----------+------------------------------+
+-----------+------------------------------+
| *Default* | null |
+-----------+------------------------------+
| *Setter* | set_primary_interface(value) |
+-----------+------------------------------+
| *Getter* | get_primary_interface() |
+-----------+------------------------------+
.. _class_ARVRServer_property_world_scale:
- :ref:`float<class_float>` **world_scale**
+----------+------------------------+
| *Setter* | set_world_scale(value) |
+----------+------------------------+
| *Getter* | get_world_scale() |
+----------+------------------------+
+-----------+------------------------+
| *Default* | 1.0 |
+-----------+------------------------+
| *Setter* | set_world_scale(value) |
+-----------+------------------------+
| *Getter* | get_world_scale() |
+-----------+------------------------+
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.