QLogicalDevice#

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

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QLogicalDevice

Synopsis#

Functions#

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:

parentPySide6.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:

actionPySide6.Qt3DInput.Qt3DInput.QAction

Add an action to the list of actions.

PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.addAxis(axis)#
Parameters:

axisPySide6.Qt3DInput.Qt3DInput.QAxis

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:

actionPySide6.Qt3DInput.Qt3DInput.QAction

Remove an action from the list of actions.

PySide6.Qt3DInput.Qt3DInput.QLogicalDevice.removeAxis(axis)#
Parameters:

axisPySide6.Qt3DInput.Qt3DInput.QAxis

Remove an axis drom the list of axis.