Class: Qgs3DSymbolAbstractMetadata¶
- class qgis.core.Qgs3DSymbolAbstractMetadata(type: str, visibleName: str)¶
Bases:
sip.wrapper
Constructor for Qgs3DSymbolAbstractMetadata, with the specified
type
andvisibleName
.Qgs3DSymbolAbstractMetadata(Qgs3DSymbolAbstractMetadata)
Stores metadata about one 3D symbol class.
Note
It’s necessary to implement
createSymbol()
function. In C++ you can use Qgs3DSymbolMetadata convenience class.Methods
Creates a new instance of this symbol type.
Returns the unique symbol type string.
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
- 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