MouseDevice QML Type

把鼠标事件委托给附加的 MouseHandler 对象。 更多...

导入语句: 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 引入。