diff options
| author | Rémi Verschelde | 2016-07-18 00:52:15 +0200 |
|---|---|---|
| committer | GitHub | 2016-07-18 00:52:15 +0200 |
| commit | 8de5aedb9ef7d4c17027b41b40677d1892f4158c (patch) | |
| tree | 88f3cf2753bc2f2033ed5e80eae43058dea63fa5 /doc/base/classes.xml | |
| parent | 3183834c5d5dd27e1be4f581c0fe1a8bef3c4a6e (diff) | |
| parent | 370ae3512deda40b2659a1192f302298e269305f (diff) | |
| download | godot-8de5aedb9ef7d4c17027b41b40677d1892f4158c.tar.gz godot-8de5aedb9ef7d4c17027b41b40677d1892f4158c.tar.zst godot-8de5aedb9ef7d4c17027b41b40677d1892f4158c.zip | |
Merge pull request #5718 from jay3d/master
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 1a22b4926..b3ce0adb6 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> |
