Class: QgsVectorLayer3DRenderer¶
3D renderer that renders all features of a vector layer with the same 3D symbol.
The appearance is completely defined by the symbol.
Class Hierarchy¶
Base classes¶
Base class for 3D renderers that are based on vector layers. |
|
Base class for all renderers that participate in 3D views. |
Methods
Sets 3D symbol associated with the renderer. |
|
Returns 3D symbol associated with the renderer |
|
- class qgis._3d.QgsVectorLayer3DRenderer[source]¶
Bases:
QgsAbstractVectorLayer3DRenderer
- __init__(s: QgsAbstract3DSymbol | None = None)
Takes ownership of the symbol object
- Parameters:
s (Optional[QgsAbstract3DSymbol] = None)
- copyBaseProperties()¶
- readXmlBaseProperties()¶
- setSymbol(self, symbol: QgsAbstract3DSymbol | None)[source]¶
Sets 3D symbol associated with the renderer. Takes ownership of the symbol
- Parameters:
symbol (Optional[QgsAbstract3DSymbol])
- symbol(self) QgsAbstract3DSymbol | None [source]¶
Returns 3D symbol associated with the renderer
- Return type:
Optional[QgsAbstract3DSymbol]
- writeXmlBaseProperties()¶