Class: QgsStyleSymbol3DEntity

A 3d symbol entity for QgsStyle databases.

Added in version 3.16.

Class Hierarchy

Inheritance diagram of qgis.core.QgsStyleSymbol3DEntity

Base classes

QgsStyleEntityInterface

An interface for entities which can be placed in a QgsStyle database.

Methods

symbol

Returns the entity's symbol.

class qgis.core.QgsStyleSymbol3DEntity[source]

Bases: QgsStyleEntityInterface

__init__(symbol: QgsAbstract3DSymbol | None)

Constructor for QgsStyleSymbol3DEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

Parameters:

symbol (Optional[QgsAbstract3DSymbol])

__init__(a0: QgsStyleSymbol3DEntity)
Parameters:

a0 (QgsStyleSymbol3DEntity)

symbol(self) QgsAbstract3DSymbol | None[source]

Returns the entity’s symbol.

Return type:

Optional[QgsAbstract3DSymbol]