AccelerometerReading QML Type
AccelerometerReading 元素保存最近的加速度计读数。更多
| Import Statement: | import QtSensors |
| Since: | QtSensors 5.0 |
| Inherits: |
属性
详细说明
AccelerometerReading 元素保存最新的加速度计读数。
该元素封装了QAccelerometerReading 类。详情请查看QAccelerometerReading 文档。
该元素不能直接创建。
属性文档
x : real
该属性用于保存 X 轴上的加速度。
有关该属性的信息,请参阅QAccelerometerReading::x 。
y : real
该属性用于保存 Y 轴上的加速度。
有关该属性的信息,请参阅QAccelerometerReading::y 。
z : real
该属性用于保存 Z 轴上的加速度。
有关该属性的信息,请参阅QAccelerometerReading::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.