Class: QgsNullMaterialSettings

Null shading material used for rendering models and scenes with native textures.

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.16.2.

Class Hierarchy

Inheritance diagram of qgis._3d.QgsNullMaterialSettings

Base classes

QgsAbstractMaterialSettings

Abstract base class for material settings.

Virtual Methods

In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsNullMaterialSettings. See the FAQ for more details.

toExportParameters

Static Methods

create

Returns a new instance of QgsNullMaterialSettings.

supportsTechnique

Returns True if the specified technique is supported by the material.

class qgis._3d.QgsNullMaterialSettings[source]

Bases: QgsAbstractMaterialSettings

static create() QgsAbstractMaterialSettings | None[source]

Returns a new instance of QgsNullMaterialSettings.

Return type:

Optional[QgsAbstractMaterialSettings]

static supportsTechnique(technique: QgsMaterialSettingsRenderingTechnique) bool[source]

Returns True if the specified technique is supported by the material.

Parameters:

technique (QgsMaterialSettingsRenderingTechnique)

Return type:

bool

virtual toExportParameters(self) Dict[str, str]
Return type:

Dict[str, str]