QPointSize

Specifies the size of rasterized points. May either be set statically or by shader programs. More

Synopsis

Functions

Slots

Signals

Detailed Description

When the sizeMode property is set to SizeMode::Fixed, the value is set using glPointSize(), if available. When using SizeMode::Programmable, gl_PointSize must be set within shader programs, the value provided to this RenderState is ignored in that case.

class PySide2.Qt3DRender.QPointSize([parent=None])
Parameters

parentPySide2.Qt3DCore.QNode

PySide2.Qt3DRender.QPointSize.SizeMode

This enumeration specifies values for the size mode.

Constant

Description

Qt3DRender.QPointSize.Fixed

The point size is by the value .

Qt3DRender.QPointSize.Programmable

The point size value must be set in shader

PySide2.Qt3DRender.QPointSize.setSizeMode(sizeMode)
Parameters

sizeModeSizeMode

Specifies the to be used.

PySide2.Qt3DRender.QPointSize.setValue(value)
Parameters

value – float

Specifies the point size value to be used.

PySide2.Qt3DRender.QPointSize.sizeMode()
Return type

SizeMode

Specifies the to be used.

PySide2.Qt3DRender.QPointSize.sizeModeChanged(sizeMode)
Parameters

sizeModeSizeMode

PySide2.Qt3DRender.QPointSize.value()
Return type

float

Specifies the point size value to be used.

PySide2.Qt3DRender.QPointSize.valueChanged(value)
Parameters

value – float