MouseDevice QML Type

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

Import Statement: import Qt3D.Input 2.9
In C++: QMouseDevice
Status: Deprecated

属性

详细说明

MouseDevice 将鼠标事件从物理鼠标设备委托给MouseHandler 对象。鼠标的灵敏度可通过MouseDevice::sensitivity 属性进行控制,该属性可指定逻辑鼠标坐标随鼠标物理移动而变化的速率。

另请参阅 MouseHandler

属性文档

sensitivity : real

保存当前鼠标设备的灵敏度。默认为 0.1。


updateAxesContinuously : bool

如果true ,则无论是否按下任何鼠标按钮,坐标轴都会随时更新。否则,只有按下其中一个鼠标按钮时才会更新坐标轴。

默认值为false


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.