QAbstractFunctor¶
QAbstractFunctor
is an abstract base class for all functors. More…
Inherited by: QBufferDataGenerator, QGeometryFactory, QTextureGenerator, QTextureImageDataGenerator
Detailed Description¶
The
QAbstractFunctor
is used as a base class for all functors and data generators in Qt3DRender module.When user defines a new functor or generator, they need to implement the
id()
method, which should be done using theQT3D_FUNCTOR
macro in the class definition.
- class PySide2.Qt3DRender.Qt3DRender.QAbstractFunctor¶
Note
This constructor is deprecated.
- PySide2.Qt3DRender.Qt3DRender.QAbstractFunctor.id()¶
- Return type:
qintptr
Returns a pointer to the id of the functor.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.