Class: Qgs3DSymbolAbstractMetadata

Stores metadata about one 3D symbol class.

Note

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

Added in version 3.16.

Note

This is an abstract class, with methods which must be implemented by a subclass.

The following methods must be implemented: create()

Abstract Methods

create

Creates a new instance of this symbol type.

Methods

type

Returns the unique symbol type string.

visibleName

Returns the symbol's visible (translated) name.

class qgis.core.Qgs3DSymbolAbstractMetadata[source]

Bases: object

__init__(type: str | None, visibleName: str | None)

Constructor for Qgs3DSymbolAbstractMetadata, with the specified type and visibleName.

Parameters:
  • type (Optional[str])

  • visibleName (Optional[str])

__init__(a0: Qgs3DSymbolAbstractMetadata)
Parameters:

a0 (Qgs3DSymbolAbstractMetadata)

abstract create(self) QgsAbstract3DSymbol | None[source]

Creates a new instance of this symbol type.

Caller takes ownership of the returned symbol.

Return type:

Optional[QgsAbstract3DSymbol]

type(self) str[source]

Returns the unique symbol type string.

Return type:

str

visibleName(self) str[source]

Returns the symbol’s visible (translated) name.

Return type:

str