Add documentation for Input.get_magnetometer()

This commit is contained in:
George Marques 2016-05-27 14:55:24 -03:00
parent 4877b714b3
commit 8d69e1b620
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -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. If the device has an accelerometer, this will return the movement.
</description> </description>
</method> </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"> <method name="get_mouse_speed" qualifiers="const">
<return type="Vector2"> <return type="Vector2">
</return> </return>