Class: QgsAbstractVectorLayer3DRenderer

class qgis.3d.QgsAbstractVectorLayer3DRenderer

Bases: QgsAbstract3DRenderer

Base class for 3D renderers that are based on vector layers.

New in version 3.12:

Methods

copyBaseProperties

Copies common properties of this object to another object

layer

Returns vector layer associated with the renderer

readXmlBaseProperties

Reads common properties of this object from DOM element

resolveReferences

param project

setLayer

Sets vector layer associated with the renderer

setTilingSettings

Sets tiling settings of the renderer

tilingSettings

Returns tiling settings of the renderer

writeXmlBaseProperties

Writes common properties of this object to DOM element

copyBaseProperties(self, r: QgsAbstractVectorLayer3DRenderer)

Copies common properties of this object to another object

Parameters

r (QgsAbstractVectorLayer3DRenderer) –

layer(self) QgsVectorLayer

Returns vector layer associated with the renderer

Return type

QgsVectorLayer

readXmlBaseProperties(self, elem: QDomElement, context: QgsReadWriteContext)

Reads common properties of this object from DOM element

Parameters
resolveReferences(self, project: QgsProject)
Parameters

project (QgsProject) –

setLayer(self, layer: QgsVectorLayer)

Sets vector layer associated with the renderer

Parameters

layer (QgsVectorLayer) –

setTilingSettings(self, settings: QgsVectorLayer3DTilingSettings)

Sets tiling settings of the renderer

Parameters

settings (QgsVectorLayer3DTilingSettings) –

tilingSettings(self) QgsVectorLayer3DTilingSettings

Returns tiling settings of the renderer

Return type

QgsVectorLayer3DTilingSettings

writeXmlBaseProperties(self, elem: QDomElement, context: QgsReadWriteContext)

Writes common properties of this object to DOM element

Parameters