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

byteStride

Returns the byte stride for the geometries used to for the vertex buffer

pointSize

Returns the point size of the point cloud

setPointSize

Sets the point size

symbolType

Returns a unique string identifier of the symbol type.

type

rtype

str

Attributes

ColorRamp

NoRendering

RgbRendering

SingleColor

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

setPointSize()

Return type

float

setPointSize(self, size: float)

Sets the point size

See also

pointSize()

Parameters

size (float) –

symbolType(self)str

Returns a unique string identifier of the symbol type.

Return type

str

type(self)str
Return type

str