MagnetometerReading.MagneticFieldZ Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the magnetic field strength in microteslas along the Z axis.
public:
property float MagneticFieldZ { float get(); };
float MagneticFieldZ();
public float MagneticFieldZ { get; }
var single = magnetometerReading.magneticFieldZ;
Public ReadOnly Property MagneticFieldZ As Single
Property Value
Single
float
The magnetic field strength in microteslas along the Z axis.
Remarks
The accuracy of this value depends on the state of magnetometer calibration reflected in the DirectionalAccuracy property.