InputGetMagnetometer Method |
Returns the magnetic field strength in micro-Tesla for all axes of the device's magnetometer sensor, if the device has one. Otherwise, the method returns .
Note: This method only works on Android, iOS and UWP. On other platforms, it always returns .
Namespace: Godot
public static Vector3 GetMagnetometer()
[Missing <returns> documentation for "M:Godot.Input.GetMagnetometer"]