本页内容

MagnetometerReading QML Type

“磁力计读数”元素存储了最新的磁力计读数。更多内容...

Import Statement: import QtSensors
Since: QtSensors 5.0
Inherits:

SensorReading

属性

详细说明

MagnetometerReading 元素存储了最新的磁强计读数。

该元素封装了QMagnetometerReading 类。详情请参阅QMagnetometerReading 的文档。

此元素无法直接创建。

属性文档

calibrationLevel : real

该属性用于保存读数的精度。

有关此属性的信息,请参阅QMagnetometerReading::calibrationLevel 。

x : real

该属性存储X轴上的原始磁通密度。

有关此属性的信息,请参阅QMagnetometerReading::x 。

y : real

该属性在 Y 轴上存储原始磁通密度。

有关此属性的信息,请参阅QMagnetometerReading::y 。

z : real

该属性存储 Z 轴上的原始磁通密度。

有关此属性的信息,请参阅QMagnetometerReading::z 。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.