Class: QgsStyleSymbol3DEntity

class qgis.core.QgsStyleSymbol3DEntity

Bases: QgsStyleEntityInterface

A 3d symbol entity for QgsStyle databases.

Added in version 3.16.

QgsStyleSymbol3DEntity(symbol: Optional[QgsAbstract3DSymbol]) Constructor for QgsStyleSymbol3DEntity, with the specified symbol.

Ownership of symbol is NOT transferred.

QgsStyleSymbol3DEntity(a0: QgsStyleSymbol3DEntity)

Methods

symbol

Returns the entity's symbol.

type

rtype:

QgsStyle.StyleEntity

symbol(self) QgsAbstract3DSymbol | None

Returns the entity’s symbol.

Return type:

Optional[QgsAbstract3DSymbol]

type(self) QgsStyle.StyleEntity
Return type:

QgsStyle.StyleEntity