- Qt 5.15
- Qt Sensors
- QML Types
- AccelerometerReading QML Type
- Qt 5.15.13 Reference Documentation

# AccelerometerReading QML Type

The AccelerometerReading element holds the most recent Accelerometer reading. More...

Import Statement: | import QtSensors 5.15
Since: | QtSensors 5.0
Inherits: | SensorReading

- List of all members, including inherited members

## Properties

- x : qreal
- y : qreal
- z : qreal

## Detailed Description

The AccelerometerReading element holds the most recent Accelerometer reading.

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

This element cannot be directly created.

## Property Documentation

x : qreal

This property holds the acceleration on the X axis.

Please see QAccelerometerReading::x for information about this property.

y : qreal

This property holds the acceleration on the Y axis.

Please see QAccelerometerReading::y for information about this property.

z : qreal

This property holds the acceleration on the Z axis.

Please see QAccelerometerReading::z for information about this property.