Class: QgsPointCloud3DSymbol¶
- class qgis.3d.QgsPointCloud3DSymbol¶
Bases:
QgsAbstract3DSymbol
Constructor for QgsPointCloud3DSymbol
QgsPointCloud3DSymbol(
QgsPointCloud3DSymbol
)3D symbol that draws point cloud geometries as 3D objects.
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.
Methods
Returns the byte stride for the geometries used to for the vertex buffer
Returns the point size of the point cloud
Sets the point size
Returns a unique string identifier of the symbol type.
- rtype
str
Attributes
- ColorRamp = 2¶
- NoRendering = 0¶
- class RenderingStyle¶
Bases:
int
- RgbRendering = 3¶
- SingleColor = 1¶
- byteStride(self) → int¶
Returns the byte stride for the geometries used to for the vertex buffer
- Return type
int
- pointSize(self) → float¶
Returns the point size of the point cloud
See also
- Return type
float
- setPointSize(self, size: float)¶
Sets the point size
See also
- Parameters
size (float) –
- symbolType(self) → str¶
Returns a unique string identifier of the symbol type.
- Return type
str
- type(self) → str¶
- Return type
str