Class: Qgs3DSymbolAbstractMetadata

class qgis.core.Qgs3DSymbolAbstractMetadata

Bases: sip.wrapper

Stores metadata about one 3D symbol class.

Note

It’s necessary to implement createSymbol() function. In C++ you can use Qgs3DSymbolMetadata convenience class.

New in version 3.16.

Qgs3DSymbolAbstractMetadata(type: str, visibleName: str) Constructor for Qgs3DSymbolAbstractMetadata, with the specified type and visibleName.

Qgs3DSymbolAbstractMetadata(Qgs3DSymbolAbstractMetadata)

Methods

create

Creates a new instance of this symbol type.

type

Returns the unique symbol type string.

visibleName

Returns the symbol’s visible (translated) name.

create(self)QgsAbstract3DSymbol

Creates a new instance of this symbol type.

Caller takes ownership of the returned symbol.

Return type

QgsAbstract3DSymbol

type(self)str

Returns the unique symbol type string.

Return type

str

visibleName(self)str

Returns the symbol’s visible (translated) name.

Return type

str