Sync classref with current source

This commit is contained in:
Rémi Verschelde
2018-09-21 09:49:38 +02:00
parent df6316f918
commit ce0bb7b277
494 changed files with 7138 additions and 7027 deletions

View File

@@ -45,13 +45,13 @@ Methods
Signals
-------
.. _class_ARVRController_button_pressed:
.. _class_ARVRController_button_pressed:
- **button_pressed** **(** :ref:`int<class_int>` button **)**
Emitted when a button on this controller is pressed.
.. _class_ARVRController_button_release:
.. _class_ARVRController_button_release:
- **button_release** **(** :ref:`int<class_int>` button **)**
@@ -69,7 +69,7 @@ The position of the controller node is automatically updated by the ARVR Server.
Property Descriptions
---------------------
.. _class_ARVRController_controller_id:
.. _class_ARVRController_controller_id:
- :ref:`int<class_int>` **controller_id**
@@ -87,7 +87,7 @@ For any other controller that the :ref:`ARVRServer<class_ARVRServer>` detects we
When a controller is turned off, its slot is freed. This ensures controllers will keep the same id even when controllers with lower ids are turned off.
.. _class_ARVRController_rumble:
.. _class_ARVRController_rumble:
- :ref:`float<class_float>` **rumble**
@@ -102,37 +102,37 @@ The degree to which the tracker rumbles. Ranges from ``0.0`` to ``1.0`` with pre
Method Descriptions
-------------------
.. _class_ARVRController_get_controller_name:
.. _class_ARVRController_get_controller_name:
- :ref:`String<class_String>` **get_controller_name** **(** **)** const
If active, returns the name of the associated controller if provided by the AR/VR SDK used.
.. _class_ARVRController_get_hand:
.. _class_ARVRController_get_hand:
- :ref:`TrackerHand<enum_ARVRPositionalTracker_TrackerHand>` **get_hand** **(** **)** const
Returns the hand holding this controller, if known. See TRACKER\_\* constants in :ref:`ARVRPositionalTracker<class_ARVRPositionalTracker>`.
.. _class_ARVRController_get_is_active:
.. _class_ARVRController_get_is_active:
- :ref:`bool<class_bool>` **get_is_active** **(** **)** const
Returns ``true`` if the bound controller is active. ARVR systems attempt to track active controllers.
.. _class_ARVRController_get_joystick_axis:
.. _class_ARVRController_get_joystick_axis:
- :ref:`float<class_float>` **get_joystick_axis** **(** :ref:`int<class_int>` axis **)** const
Returns the value of the given axis for things like triggers, touchpads, etc. that are embedded into the controller.
.. _class_ARVRController_get_joystick_id:
.. _class_ARVRController_get_joystick_id:
- :ref:`int<class_int>` **get_joystick_id** **(** **)** const
Returns the ID of the joystick object bound to this. Every controller tracked by the ARVR Server that has buttons and axis will also be registered as a joystick within Godot. This means that all the normal joystick tracking and input mapping will work for buttons and axis found on the AR/VR controllers. This ID is purely offered as information so you can link up the controller with its joystick entry.
.. _class_ARVRController_is_button_pressed:
.. _class_ARVRController_is_button_pressed:
- :ref:`int<class_int>` **is_button_pressed** **(** :ref:`int<class_int>` button **)** const