内容表

上一话题

Qt3DInput.QLogicalDevice

下一话题

Qt3DInput.QMouseEvent

Qt3DInput.QMouseDevice

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

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QMouseDevice

概要

信号

详细描述

A QMouseDevice delegates mouse events from physical mouse device to QMouseHandler objects. The sensitivity of the mouse can be controlled with the sensitivity property, which specifies the rate in which the logical mouse coordinates change in response to physical movement of the mouse.

另请参阅

QMouseHandler

class PySide2.Qt3DInput.Qt3DInput. QMouseDevice ( [ parent=None ] )
param parent

QNode

构造新 QMouseDevice instance with parent parent .

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. Axis

The mouse axis.

常量

描述

Qt3DInput.QMouseDevice.X

Qt3DInput.QMouseDevice.Y

Qt3DInput.QMouseDevice.WheelX

Qt3DInput.QMouseDevice.WheelY

另请参阅

setAxis

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. sensitivity ( )
返回类型

float

另请参阅

setSensitivity()

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. sensitivityChanged ( value )
参数

value float

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. setSensitivity ( value )
参数

value float

另请参阅

sensitivity()

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. setUpdateAxesContinuously ( updateAxesContinuously )
参数

updateAxesContinuously bool

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. updateAxesContinuously ( )
返回类型

bool

PySide2.Qt3DInput.Qt3DInput.QMouseDevice. updateAxesContinuouslyChanged ( updateAxesContinuously )
参数

updateAxesContinuously bool