DistanceSensor QML Type

The DistanceSensor element reports the distance in cm from an object to the device. More...

Import Statement: import QtSensors 5.14
Since: QtSensors 5.4
Inherits:

Sensor

Detailed Description

The DistanceSensor element reports the distance in cm from an object to the device.

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

See also DistanceReading.

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