Class: QgsVectorLayer3DRenderer¶
- class qgis.3d.QgsVectorLayer3DRenderer(s: QgsAbstract3DSymbol = None)¶
Bases:
qgis._3d.QgsAbstractVectorLayer3DRenderer
Takes ownership of the symbol object
3D renderer that renders all features of a vector layer with the same 3D symbol. The appearance is completely defined by the symbol.
Methods
- rtype
QgsVectorLayer3DRenderer
- param elem
Sets 3D symbol associated with the renderer.
Returns 3D symbol associated with the renderer
- rtype
str
- param elem
- clone(self) → QgsVectorLayer3DRenderer¶
- Return type
- copyBaseProperties()¶
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –
- readXmlBaseProperties()¶
- setSymbol(self, symbol: QgsAbstract3DSymbol)¶
Sets 3D symbol associated with the renderer. Takes ownership of the symbol
- Parameters
symbol (QgsAbstract3DSymbol) –
- symbol(self) → QgsAbstract3DSymbol¶
Returns 3D symbol associated with the renderer
- Return type
- type(self) → str¶
- Return type
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –
- writeXmlBaseProperties()¶