Class: QgsPointCloud3DSymbol¶
- class qgis._3d.QgsPointCloud3DSymbol¶
Bases:
QgsAbstract3DSymbol
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.
New in version 3.18.
QgsPointCloud3DSymbol() Constructor for QgsPointCloud3DSymbol
QgsPointCloud3DSymbol(
QgsPointCloud3DSymbol
)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