内容表

上一话题

Qt3DInput.QKeyboardHandler

下一话题

Qt3DInput.QMouseDevice

Qt3DInput.QLogicalDevice

QLogicalDevice allows the user to define a set of actions that they wish to use within an application. 更多

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QLogicalDevice

概要

函数

详细描述

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

QNode

构造新 QLogicalDevice instance with parent parent .

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. actions ( )
返回类型

Returns the list of actions.

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. addAction ( action )
参数

action QAction

Add an action to the list of actions.

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. addAxis ( axis )
参数

axis QAxis

Add an axis to the list of axis.

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. axes ( )
返回类型

Returns the list of axis.

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. removeAction ( action )
参数

action QAction

Remove an action from the list of actions.

PySide2.Qt3DInput.Qt3DInput.QLogicalDevice. removeAxis ( axis )
参数

axis QAxis

Remove an axis drom the list of axis.