PySide6.QtQuick.QSGBasicGeometryNode¶
- class QSGBasicGeometryNode¶
- The - QSGBasicGeometryNodeclass serves as a baseclass for geometry based nodes.- Details- The - QSGBasicGeometryNodeclass should not be used by itself. It is only encapsulates shared functionality between the- QSGGeometryNodeand- QSGClipNodeclasses.- Note - All classes with QSG prefix should be used solely on the scene graph’s rendering thread. See Scene Graph and Rendering for more information. - Inherited by: - QSGGeometryNode,- QSGSimpleTextureNode,- QSGSimpleRectNode,- QSGRectangleNode,- QSGNinePatchNode,- QSGImageNode,- QSGClipNode- Synopsis¶- Methods¶- def - __init__()
- def - clipList()
- def - geometry()
- def - matrix()
- def - setGeometry()
 - 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 - clipList()¶
- Return type:
 
 - geometry()¶
- Return type:
 
 - Returns this node’s geometry. - The geometry is null by default. - matrix()¶
- Return type:
 
 - setGeometry(geometry)¶
- Parameters:
- geometry – - QSGGeometry
 
 - Sets the geometry of this node to - geometry.- If the node has the flag - OwnsGeometryset, it will also delete the geometry object it is pointing to. This flag is not set by default.- If the geometry is changed without calling setGeometry() again, the user must also mark the geometry as dirty using - markDirty().- See also - geometry()- markDirty()- setRendererClipList(c)¶
- Parameters:
- c – - QSGClipNode
 
 - setRendererMatrix(m)¶
- Parameters:
- m – - QMatrix4x4