PySide6.Qt3DCore.Qt3DCore.QAbstractFunctor¶
- class QAbstractFunctor¶
- QAbstractFunctoris an abstract base class for all functors.- Details- The - QAbstractFunctoris used as a base class for all functors and data generators in Qt3DCore module.- When user defines a new functor or generator, they need to implement the - id()method, which should be done using the- QT3D_FUNCTORmacro in the class definition.- Inherited by: - QTextureImageDataGenerator- Synopsis¶- Methods¶- def - __init__()
 - Virtual methods¶- def - id()
 - 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 - __init__()¶
 - abstract id()¶
- Return type:
- qintptr
 
 - Returns a pointer to the id of the functor.