把鼠标事件委托给附加的 MouseHandler 对象。 更多...
导入语句: | import Qt3D.Input 2.2 |
Since: | Qt 5.5 |
实例化: | QMouseDevice |
A MouseDevice delegates mouse events from physical mouse device to MouseHandler objects. The sensitivity of the mouse can be controlled with the MouseDevice::sensitivity property, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.
另请参阅 MouseHandler .
sensitivity : real |
Holds the current sensitivity of the mouse device. Default is 0.1.
[since 5.15] updateAxesContinuously : bool |
若
true
, axes will be updated anytime they change regardless of whether any mouse button is being pressed. Otherwise, axes are updated only when one of the mouse buttons is being pressed.
默认值为
false
.
该特性在 Qt 5.15 引入。