PySide6.QtQuick3D.QQuick3DRenderExtension¶
- class QQuick3DRenderExtension¶
Abstract class for implementing user side render extensions. More…
Added in version 6.7.
Synopsis¶
Methods¶
def
__init__()
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
Detailed Description¶
This is the front-end side of a render extension. The back-end side is implemented in
QSSGRenderExtension
. TheQQuick3DRenderExtension
class is used to create a custom render extension that can be used in the QtQuick3D scene graph by adding it to the list of extensions to be used with a View3D . The extension code will then be run as part of QtQuick3D ‘s rendering pipeline execution.The
QQuick3DRenderExtension
class is an abstract class that should be subclassed and exposed to QML. The subclass should implement theupdateSpatialNode()
function and return aQSSGRenderExtension
instance that contains the code that should be run.See also
QSSGRenderExtension
- __init__([parent=None])¶
- Parameters:
parent –
QQuick3DObject