Qt3DInput.QMouseDevice¶
Delegates mouse events to the attached MouseHandler objects. More…

Synopsis¶
Functions¶
def
sensitivity
()
Slots¶
def
setSensitivity
(value)
Signals¶
def
sensitivityChanged
(value)
Detailed Description¶
A
QMouseDevice
delegates mouse events from physical mouse device toQMouseHandler
objects. The sensitivity of the mouse can be controlled with thesensitivity
property, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.See also
QMouseHandler
-
class
PySide2.Qt3DInput.Qt3DInput.
QMouseDevice
([parent=None])¶ - param parent
QNode
Constructs a new
QMouseDevice
instance with parentparent
.
-
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
Axis
¶ The mouse axis.
Constant
Description
Qt3DInput.QMouseDevice.X
Qt3DInput.QMouseDevice.Y
Qt3DInput.QMouseDevice.WheelX
Qt3DInput.QMouseDevice.WheelY
See also
-
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
sensitivity
()¶ - Return type
float
See also
setSensitivity()
-
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
sensitivityChanged
(value)¶ - Parameters
value –
float
-
PySide2.Qt3DInput.Qt3DInput.QMouseDevice.
setSensitivity
(value)¶ - Parameters
value –
float
See also
sensitivity()