Share via


MagnetometerReading.MagneticFieldZ Property

Definition

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.

Applies to