QPointSize#
Specifies the size of rasterized points. May either be set statically or by shader programs. More…
Synopsis#
Properties#
Functions#
Slots#
def
setSizeMode
(sizeMode)def
setValue
(value)
Signals#
def
sizeModeChanged
(sizeMode)def
valueChanged
(value)
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:
parent –
PySide6.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:
sizeMode
()setSizeMode
(sizeMode)Signal
sizeModeChanged
(sizeMode)
- property PᅟySide6.Qt3DRender.Qt3DRender.QPointSize.value: float#
Specifies the point size value to be used.
- Access functions:
value
()setValue
(value)Signal
valueChanged
(value)
- 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:
sizeMode –
SizeMode
See also
Setter of property sizeMode
.
- PySide6.Qt3DRender.Qt3DRender.QPointSize.setValue(value)#
- Parameters:
value – float
See also
Setter of property value
.
- PySide6.Qt3DRender.Qt3DRender.QPointSize.sizeMode()#
- Return type:
See also
Getter of property sizeMode
.
Notification signal of property sizeMode
.
- PySide6.Qt3DRender.Qt3DRender.QPointSize.value()#
- Return type:
float
See also
Getter of property value
.
- PySide6.Qt3DRender.Qt3DRender.QPointSize.valueChanged(value)#
- Parameters:
value – float
Notification signal of property value
.