Class: 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.

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis._3d.QgsSingleColorPointCloud3DSymbol

Base classes

QgsPointCloud3DSymbol

3D symbol that draws point cloud geometries as 3D objects.

QgsAbstract3DSymbol

Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.

Methods

readBaseXml

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

writeBaseXml

class qgis._3d.QgsSingleColorPointCloud3DSymbol[source]

Bases: QgsPointCloud3DSymbol

readBaseXml()
setSingleColor(self, color: QColor | Qt.GlobalColor)[source]

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

See also

singleColor()

Parameters:

color (Union[QColor, Qt.GlobalColor])

singleColor(self) QColor[source]

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

See also

setSingleColor()

Return type:

QColor

writeBaseXml()