Class: QgsSingleColorPointCloud3DSymbol¶
- class qgis._3d.QgsSingleColorPointCloud3DSymbol¶
Bases:
qgis._3d.QgsPointCloud3DSymbol
3D symbol that draws point cloud geometries as 3D objects.using one color
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
New in version 3.18.
QgsSingleColorPointCloud3DSymbol() Constructor for QgsSingleColorPointCloud3DSymbol
QgsSingleColorPointCloud3DSymbol(
QgsSingleColorPointCloud3DSymbol
)Methods
- rtype:
int
- rtype:
QgsAbstract3DSymbol
- param elem:
Sets the color used by the renderer when using SingleColor rendering mode
Returns the color used by the renderer when using SingleColor rendering mode
- rtype:
str
- param elem:
- byteStride(self) int ¶
- Return type:
int
- clone(self) QgsAbstract3DSymbol ¶
- Return type:
- readBaseXml()¶
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –
- setSingleColor(self, color: QColor | Qt.GlobalColor)¶
Sets the color used by the renderer when using SingleColor rendering mode
See also
- Parameters:
color (Union[QColor) –
- singleColor(self) QColor ¶
Returns the color used by the renderer when using SingleColor rendering mode
See also
- Return type:
QColor
- symbolType(self) str ¶
- Return type:
str
- writeBaseXml()¶
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –