Sdílet prostřednictvím


MagnetometerReading.MagneticFieldY Property

Definition

Gets the magnetic field strength in microteslas along the Y axis.

public:
 property float MagneticFieldY { float get(); };
float MagneticFieldY();
public float MagneticFieldY { get; }
var single = magnetometerReading.magneticFieldY;
Public ReadOnly Property MagneticFieldY As Single

Property Value

Single

float

The magnetic field strength in microteslas along the Y axis.

Remarks

The accuracy of this value depends on the state of magnetometer calibration reflected in the DirectionalAccuracy property.

Applies to