Browse Source

Add documentation for Input.get_magnetometer()

George Marques 9 years ago
parent
commit
8d69e1b620
1 changed files with 7 additions and 0 deletions
  1. 7 0
      doc/base/classes.xml

+ 7 - 0
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>