QLogicalDevice#
QLogicalDevice
allows the user to define a set of actions that they wish to use within an application. More…
Synopsis#
Functions#
def
actions
()def
addAction
(action)def
addAxis
(axis)def
axes
()def
removeAction
(action)def
removeAxis
(axis)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.Qt3DInput.Qt3DInput.QLogicalDevice([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QLogicalDevice
instance with parent parent
.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.actions()#
- Return type:
.list of Qt3DInput.QAction
Returns the list of actions.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.addAction(action)#
- Parameters:
action –
PySide6.Qt3DInput.Qt3DInput.QAction
Add an action
to the list of actions.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.addAxis(axis)#
- Parameters:
Add an axis
to the list of axis.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.axes()#
- Return type:
.list of Qt3DInput.QAxis
Returns the list of axis.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.removeAction(action)#
- Parameters:
action –
PySide6.Qt3DInput.Qt3DInput.QAction
Remove an action
from the list of actions.
- PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.removeAxis(axis)#
- Parameters:
Remove an axis
drom the list of axis.