Class: Qgs3DTypes

class qgis.3d.Qgs3DTypes

Bases: sip.wrapper

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.

New in version 3.4:

Enums

AltitudeBinding

Bases: enum.IntEnum

AltitudeClamping

Bases: enum.IntEnum

Attributes

Back

Front

FrontAndBack

NoCulling

class AltitudeBinding(value)

Bases: enum.IntEnum

Altitude binding.

New in version 3.26.

  • Vertex: Clamp every vertex of feature

  • Centroid: Clamp just centroid of feature

baseClass

alias of qgis._core.Qgis

class AltitudeClamping(value)

Bases: enum.IntEnum

Altitude clamping.

New 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)

baseClass

alias of qgis._core.Qgis

Back = 2
class CullingMode

Bases: int

Front = 1
FrontAndBack = 3
NoCulling = 0