RotationSensor QML Type

The RotationSensor element reports on device rotation around the X, Y and Z axes. 更多...

Import Statement: import QtSensors 5.0
开始支持版本: QtSensors 5.0
基类:

Sensor

属性

详细描述

The RotationSensor element reports on device rotation around the X, Y and Z axes.

This element wraps the QRotationSensor class. Please see the documentation for QRotationSensor for details.

参见 RotationReading.

属性

hasZ : qreal

This property holds a value indicating if the z angle is available.

Please see QRotationSensor::hasZ for information about this property.