Data received from the magnetometer

interface MagnetometerData {
    x: number;
    y: number;
    z: number;
}

Properties

x y z

Properties

x: number

Force in direction X

y: number

Force in direction Y

z: number

Force in direction Z