aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/ARVRController.xml
diff options
context:
space:
mode:
authorRémi Verschelde2017-11-13 09:24:36 +0100
committerRémi Verschelde2017-11-13 09:25:53 +0100
commit2fce0010f0d0eb2476028ed62335508bceabd820 (patch)
tree208bd6159aff3ae2a6e5add28de99518f1a0b13c /doc/classes/ARVRController.xml
parentdc4be4350a4aac91a342001e1b6d2eaa11d0b4b8 (diff)
downloadgodot-2fce0010f0d0eb2476028ed62335508bceabd820.tar.gz
godot-2fce0010f0d0eb2476028ed62335508bceabd820.tar.zst
godot-2fce0010f0d0eb2476028ed62335508bceabd820.zip
classref: Sync with current source
[ci skip]
Diffstat (limited to 'doc/classes/ARVRController.xml')
-rw-r--r--doc/classes/ARVRController.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/classes/ARVRController.xml b/doc/classes/ARVRController.xml
index af1deda2f..2e6afe47c 100644
--- a/doc/classes/ARVRController.xml
+++ b/doc/classes/ARVRController.xml
@@ -57,6 +57,12 @@
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.
</description>
</method>
+ <method name="get_rumble" qualifiers="const">
+ <return type="float">
+ </return>
+ <description>
+ </description>
+ </method>
<method name="is_button_pressed" qualifiers="const">
<return type="int">
</return>
@@ -75,11 +81,21 @@
Changes the id that identifies the controller bound to this node. The first controller that the ARVR Server detects will have id 1, the second id 2, the third id 3, etc. When a controller is turned off that slot is freed ensuring that controllers will keep the same id while it is turned on even when controllers with lower ids are turned off.
</description>
</method>
+ <method name="set_rumble">
+ <return type="void">
+ </return>
+ <argument index="0" name="rumble" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
</methods>
<members>
<member name="controller_id" type="int" setter="set_controller_id" getter="get_controller_id">
The controller's id. The first controller that the [ARVRServer] detects will have id 1, the second id 2, the third id 3, etc. When a controller is turned off, it's slot is freed. This ensures controllers will keep the same id even when controllers with lower ids are turned off.
</member>
+ <member name="rumble" type="float" setter="set_rumble" getter="get_rumble">
+ </member>
</members>
<signals>
<signal name="button_pressed">