QSGBasicGeometryNode¶
The
QSGBasicGeometryNode
class serves as a baseclass for geometry based nodes. More…
Inherited by: QSGClipNode, QSGGeometryNode, QSGSimpleRectNode, QSGSimpleTextureNode
Synopsis¶
Functions¶
def
clipList
()def
geometry
()def
matrix
()def
setGeometry
(geometry)def
setRendererClipList
(c)def
setRendererMatrix
(m)
Detailed Description¶
The
QSGBasicGeometryNode
class should not be used by itself. It is only encapsulates shared functionality between theQSGGeometryNode
andQSGClipNode
classes.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.
- class PySide2.QtQuick.QSGBasicGeometryNode(type)¶
- param type:
Creates a new basic geometry node of type
type
- PySide2.QtQuick.QSGBasicGeometryNode.clipList()¶
- Return type:
- PySide2.QtQuick.QSGBasicGeometryNode.geometry()¶
- Return type:
Returns this node’s geometry.
The geometry is null by default.
See also
- PySide2.QtQuick.QSGBasicGeometryNode.matrix()¶
- Return type:
- PySide2.QtQuick.QSGBasicGeometryNode.setGeometry(geometry)¶
- Parameters:
geometry –
PySide2.QtQuick.QSGGeometry
Sets the geometry of this node to
geometry
.If the node has the flag
OwnsGeometry
set, 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 again, the user must also mark the geometry as dirty using
markDirty()
.See also
- PySide2.QtQuick.QSGBasicGeometryNode.setRendererClipList(c)¶
- Parameters:
- PySide2.QtQuick.QSGBasicGeometryNode.setRendererMatrix(m)¶
- Parameters:
© 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.