Magnetometer QML Type
磁强计元件报告沿 Z、Y 和 Z 轴方向的磁场强度。更多内容...
| Import Statement: | import QtSensors |
| Since: | QtSensors 5.0 |
| Inherits: |
属性
- returnGeoValues : bool
详细说明
Magnetometer 元素报告沿 Z、Y 和 Z 轴方向的磁场强度。
该组件封装了QMagnetometer 类。详情请参阅QMagnetometer 的文档。
另请参阅 MagnetometerReading 。
属性文档
returnGeoValues : bool
该属性存储一个值,用于指示是否应返回地磁值。
有关此属性的详细信息,请参阅QMagnetometer::returnGeoValues 。
© 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.