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

byteStride

rtype:

int

clone

rtype:

QgsAbstract3DSymbol

readBaseXml

readXml

param elem:

setSingleColor

Sets the color used by the renderer when using SingleColor rendering mode

singleColor

Returns the color used by the renderer when using SingleColor rendering mode

symbolType

rtype:

str

writeBaseXml

writeXml

param elem:

byteStride(self) int
Return type:

int

clone(self) QgsAbstract3DSymbol
Return type:

QgsAbstract3DSymbol

readBaseXml()
readXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters:
setSingleColor(self, color: QColor | Qt.GlobalColor)

Sets the color used by the renderer when using SingleColor rendering mode

See also

singleColor()

Parameters:

color (Union[QColor) –

singleColor(self) QColor

Returns the color used by the renderer when using SingleColor rendering mode

See also

setSingleColor()

Return type:

QColor

symbolType(self) str
Return type:

str

writeBaseXml()
writeXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters: