The base class for jobs executed in an aspect. More…
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
- class PySide6.Qt3DCore.Qt3DCore.QAspectJob#
- Return type:
Should return true (default) if the job has actually something to do. If returning false, the job will not be scheduled (but it’s dependencies will be).
Called in the main thread when all the jobs have completed. This is a good point to push changes back to the frontend.
aspectEngine is the engine responsible for the run loop.
- abstract PySide6.Qt3DCore.Qt3DCore.QAspectJob.run()#
Executes the job. This is called on a separate thread by the scheduler.