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
Altitude binding. |
|
Altitude clamping. |
Attributes
Qt property name to hold the 3D geometry 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 featureCentroid
: 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¶
Bases:
int
- class Flag3DRenderer¶
Bases:
int
- Front = 1¶
- FrontAndBack = 3¶
- Main3DRenderer = 0¶
- NoCulling = 0¶
- PROP_NAME_3D_RENDERER_FLAG: str = 'PROP_NAME_3D_RENDERER_FLAG'¶
Qt property name to hold the 3D geometry renderer flag
- Selected3DRenderer = 1¶