MouseDevice QML Type

把鼠標事件委托給附加的 MouseHandler 對象。 更多...

import 語句: import Qt3D.Input 2.15
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.

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 引入。