summaryrefslogtreecommitdiff
path: root/doc/base
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-05-27 14:55:24 -0300
committerGeorge Marques <george@gmarqu.es>2016-05-27 14:55:24 -0300
commit8d69e1b6205b0f7073129873b2b8f809e6d25c2b (patch)
treeec326704ac18abcb7ec96d32fdfbec3ef7f09bc6 /doc/base
parent4877b714b3f8b0f0af2bce7a32691fc2202c8acc (diff)
Add documentation for Input.get_magnetometer()
Diffstat (limited to 'doc/base')
-rw-r--r--doc/base/classes.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 81adb78e53..eb3f909808 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -15378,6 +15378,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
If the device has an accelerometer, this will return the movement.
</description>
</method>
+ <method name="get_magnetometer">
+ <return type="Vector3">
+ </return>
+ <description>
+ If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes.
+ </description>
+ </method>
<method name="get_mouse_speed" qualifiers="const">
<return type="Vector2">
</return>