Structure

CMMagneticField

A structure containing 3-axis magnetometer data

Declaration

struct CMMagneticField

Topics

Getting the Field Values

var x: Double

X-axis magnetic field in microteslas.

var y: Double

Y-axis magnetic field in microteslas.

var z: Double

Z-axis magnetic field in microteslas.

See Also

Getting the Field Strength

var magneticField: CMMagneticField

Returns the magnetic field measured by the magnetometer.