Qt3DInput.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)
Detailed Description¶
-
class
PySide2.Qt3DInput.Qt3DInput.
QLogicalDevice
([parent=None])¶ - param parent
QNode
Constructs a new
QLogicalDevice
instance with parentparent
.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
actions
()¶ - Return type
Returns the list of actions.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
addAction
(action)¶ - Parameters
action –
QAction
Add an
action
to the list of actions.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
addAxis
(axis)¶ - Parameters
axis –
QAxis
Add an
axis
to the list of axis.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
axes
()¶ - Return type
Returns the list of axis.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
removeAction
(action)¶ - Parameters
action –
QAction
Remove an
action
from the list of actions.
-
PySide2.Qt3DInput.Qt3DInput.QLogicalDevice.
removeAxis
(axis)¶ - Parameters
axis –
QAxis
Remove an
axis
drom the list of axis.