Class: QgsNullMaterialSettings

class qgis._3d.QgsNullMaterialSettings

Bases: qgis._3d.QgsAbstractMaterialSettings

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.

QgsNullMaterialSettings() Constructor for QgsNullMaterialSettings.

QgsNullMaterialSettings(a0: QgsNullMaterialSettings)

Methods

clone

rtype:

Optional[QgsNullMaterialSettings]

create

Returns a new instance of QgsNullMaterialSettings.

supportsTechnique

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

toExportParameters

rtype:

Dict[str, str]

type

rtype:

str

clone(self) QgsNullMaterialSettings | None
Return type:

Optional[QgsNullMaterialSettings]

create() QgsAbstractMaterialSettings | None

Returns a new instance of QgsNullMaterialSettings.

Return type:

Optional[QgsAbstractMaterialSettings]

supportsTechnique(technique: QgsMaterialSettingsRenderingTechnique) bool

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

Parameters:

technique (QgsMaterialSettingsRenderingTechnique)

Return type:

bool

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

Dict[str, str]

type(self) str
Return type:

str