内容表

上一话题

QTiltFilter

下一话题

QTiltSensor

QTiltReading

QTiltReading class holds readings from the tilt sensor. 更多

Inheritance diagram of PySide2.QtSensors.QTiltReading

概要

详细描述

The tilt sensor reports the angle of tilt in degrees of the device along the X and Y plane.

class QTiltReading ( parent )
参数

parent QObject

PySide2.QtSensors.QTiltReading. setXRotation ( x )
参数

x qreal

xRotation to x .

另请参阅

xRotation()

PySide2.QtSensors.QTiltReading. setYRotation ( y )
参数

y qreal

yRotation to y .

另请参阅

yRotation()

PySide2.QtSensors.QTiltReading. xRotation ( )
返回类型

qreal

另请参阅

setXRotation()

PySide2.QtSensors.QTiltReading. yRotation ( )
返回类型

qreal

另请参阅

setYRotation()