diff options
author | Jamil Halabi <jay3dlinux@gmail.com> | 2016-07-15 15:31:34 +0800 |
---|---|---|
committer | Jamil Halabi <jay3dlinux@gmail.com> | 2016-07-16 01:43:32 +0800 |
commit | 370ae3512deda40b2659a1192f302298e269305f (patch) | |
tree | a1850f46fa1817be65981177326417fbdb33f5b0 /doc/base/classes.xml | |
parent | 4c4ab140b4569f2700517a13b20127eb7542b3ec (diff) |
Added gyroscope support to Godot and Android
Diffstat (limited to 'doc/base/classes.xml')
-rw-r--r-- | doc/base/classes.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 50d550f6b2..890b617aa2 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -15797,6 +15797,13 @@ Returns an [Array] containing the device IDs of all currently connected joysticks. </description> </method> + <method name="get_gyroscope"> + <return type="Vector3"> + </return> + <description> + If the device has a gyroscope, this will return the rate of rotation in rad/s around a device's x, y, and z axis. + </description> + </method> <method name="get_joy_axis"> <return type="float"> </return> |