If an magnetic sensor exists, returns the X component of any surrounding magnetic field. On iOS it may take a few seconds to start displaying data other than 0, during this process the device is using motion data to calibrate the magnetic sensor
float GetRawMagneticX()