Function InputSingleton.getMagnetometer

If the device has a magnetometer, this will return the magnetic field strength in micro-Tesla for all axes.

Vector3 getMagnetometer() nothrow @nogc const;