QInputAspect#
Responsible for creating physical devices and handling associated jobs. More…
Synopsis#
Functions#
def
availablePhysicalDevices
()def
createPhysicalDevice
(name)
Detailed Description#
Handles mapping between front and backend nodes
QInputAspect
is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.
- class PySide6.Qt3DInput.Qt3DInput.QInputAspect([parent=None])#
- Parameters
parent –
PySide6.QtCore.QObject
Constructs a new QInputAspect
with parent
.
- PySide6.Qt3DInput.Qt3DInput.QInputAspect.availablePhysicalDevices()#
- Return type
list of strings
Returns a list of all available physical devices.
- PySide6.Qt3DInput.Qt3DInput.QInputAspect.createPhysicalDevice(name)#
- Parameters
name – str
- Return type
Create a physical device identified by name
using the input device integrations present returns a nullptr
if it is not found.
Note
Caller is responsible for ownership.