Class: Qgs3DTypes

Defines enumerations and other auxiliary types for QGIS 3D.

Warning

This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.

Added in version 3.4.

Enums

CullingMode

Flag3DRenderer

Attributes

PROP_NAME_3D_RENDERER_FLAG

class qgis._3d.Qgs3DTypes[source]

Bases: object

class AltitudeBinding(*values)

Bases: IntEnum

Altitude binding.

Added in version 3.26.

  • Vertex: Clamp every vertex of feature

  • Centroid: Clamp just centroid of feature

class AltitudeClamping(*values)

Bases: IntEnum

Altitude clamping.

Added in version 3.26.

  • Absolute: Elevation is taken directly from feature and is independent of terrain height (final elevation = feature elevation)

  • Relative: Elevation is relative to terrain height (final elevation = terrain elevation + feature elevation)

  • Terrain: Elevation is clamped to terrain (final elevation = terrain elevation)

Back = 2
class CullingMode(*values)

Bases: IntEnum

Back = 2
Front = 1
FrontAndBack = 3
NoCulling = 0
class Flag3DRenderer(*values)

Bases: IntEnum

Main3DRenderer = 0
Selected3DRenderer = 1
Front = 1
FrontAndBack = 3
Main3DRenderer = 0
NoCulling = 0
PROP_NAME_3D_RENDERER_FLAG: str = 'PROP_NAME_3D_RENDERER_FLAG'
Selected3DRenderer = 1