QPointSize#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QPointSize

Synopsis#

Properties#

Functions#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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 PySide6.Qt3DRender.Qt3DRender.QPointSize([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DRender.Qt3DRender.QPointSize.sizeMode: SizeMode#

Specifies the sizeMode to be used.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QPointSize.value: float#

Specifies the point size value to be used.

Access functions:
PySide6.Qt3DRender.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

PySide6.Qt3DRender.Qt3DRender.QPointSize.setSizeMode(sizeMode)#
Parameters:

sizeModeSizeMode

See also

sizeMode()

Setter of property sizeMode .

PySide6.Qt3DRender.Qt3DRender.QPointSize.setValue(value)#
Parameters:

value – float

See also

value()

Setter of property value .

PySide6.Qt3DRender.Qt3DRender.QPointSize.sizeMode()#
Return type:

SizeMode

See also

setSizeMode()

Getter of property sizeMode .

PySide6.Qt3DRender.Qt3DRender.QPointSize.sizeModeChanged(sizeMode)#
Parameters:

sizeModeSizeMode

Notification signal of property sizeMode .

PySide6.Qt3DRender.Qt3DRender.QPointSize.value()#
Return type:

float

See also

setValue()

Getter of property value .

PySide6.Qt3DRender.Qt3DRender.QPointSize.valueChanged(value)#
Parameters:

value – float

Notification signal of property value .