Class: QgsNullMaterialSettings

class qgis.3d.QgsNullMaterialSettings

Bases: qgis._3d.QgsAbstractMaterialSettings

Constructor for QgsNullMaterialSettings.

QgsNullMaterialSettings(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.

Methods

clone

rtype

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
Return type

QgsNullMaterialSettings

create()QgsAbstractMaterialSettings

Returns a new instance of QgsNullMaterialSettings.

Return type

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