W3cubDocs

/Qt 5.11

RotationSensor QML Type

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

Import Statement: import QtSensors 5.11
Since: QtSensors 5.0
Inherits:

Sensor

Properties

Detailed Description

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.

See also RotationReading.

Property Documentation

hasZ : qreal

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

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

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qml-qtsensors-rotationsensor.html