mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Add documentation for Input.get_magnetometer()
This commit is contained in:
parent
4877b714b3
commit
8d69e1b620
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user