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
Creates a new instance of this symbol type. |
Methods
Returns the unique symbol type string. |
|
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
andvisibleName
.- Parameters:
type (Optional[str])
visibleName (Optional[str])
- __init__(a0: Qgs3DSymbolAbstractMetadata)
- Parameters:
- 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]