PySide6.Qt3DInput.Qt3DInput.QLogicalDevice¶
- class QLogicalDevice¶
- QLogicalDeviceallows the user to define a set of actions that they wish to use within an application. More…- Synopsis¶- Methods¶- def - __init__()
- def - actions()
- def - addAction()
- def - addAxis()
- def - axes()
- def - removeAction()
- def - removeAxis()
 - 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¶- __init__([parent=None])¶
- Parameters:
- parent – - QNode
 
 - Constructs a new - QLogicalDeviceinstance with parent- parent.- actions()¶
- Return type:
- .list of Qt3DInput.QAction 
 
 - Returns the list of actions. - addAction(action)¶
- Parameters:
- action – - QAction
 
 - Add an - actionto the list of actions.- addAxis(axis)¶
- Parameters:
- axis – - QAxis
 
 - Add an - axisto the list of axis.- axes()¶
- Return type:
- .list of Qt3DInput.QAxis 
 
 - Returns the list of axis. - removeAction(action)¶
- Parameters:
- action – - QAction
 
 - Remove an - actionfrom the list of actions.- removeAxis(axis)¶
- Parameters:
- axis – - QAxis
 
 - Remove an - axisdrom the list of axis.