内容表

上一话题

Qt3DInput.QAction

下一话题

Qt3DInput.QAnalogAxisInput

Qt3DInput.QActionInput

QActionInput stores Device and Buttons used to trigger an input event. 更多

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QActionInput

概要

函数

信号

详细描述

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

QNode

构造新 QActionInput 实例与 parent .

PySide2.Qt3DInput.Qt3DInput.QActionInput. buttons ( )
返回类型

另请参阅

setButtons()

PySide2.Qt3DInput.Qt3DInput.QActionInput. buttonsChanged ( buttons )
参数

buttons

PySide2.Qt3DInput.Qt3DInput.QActionInput. setButtons ( buttons )
参数

buttons

Set the buttons to trigger the QActionInput instance to buttons .

另请参阅

buttons()

PySide2.Qt3DInput.Qt3DInput.QActionInput. setSourceDevice ( sourceDevice )
参数

sourceDevice QAbstractPhysicalDevice

另请参阅

sourceDevice()

PySide2.Qt3DInput.Qt3DInput.QActionInput. sourceDevice ( )
返回类型

QAbstractPhysicalDevice

另请参阅

setSourceDevice()

PySide2.Qt3DInput.Qt3DInput.QActionInput. sourceDeviceChanged ( sourceDevice )
参数

sourceDevice QAbstractPhysicalDevice