Class: QgsSingleColorPointCloud3DSymbol

class qgis.3d.QgsSingleColorPointCloud3DSymbol

Bases: qgis._3d.QgsPointCloud3DSymbol

Constructor for QgsSingleColorPointCloud3DSymbol

QgsSingleColorPointCloud3DSymbol(QgsSingleColorPointCloud3DSymbol)

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.

Methods

byteStride

rtype

int

clone

rtype

QgsAbstract3DSymbol

copyBaseSettings

Copies base class settings from this object to a destination object.

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

writeXml

param elem

byteStride(self)int
Return type

int

clone(self)QgsAbstract3DSymbol
Return type

QgsAbstract3DSymbol

copyBaseSettings(self, destination: QgsAbstract3DSymbol)

Copies base class settings from this object to a destination object.

readXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters
setSingleColor(self, color: Union[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

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