- class QPointSize¶
Specifies the size of rasterized points. May either be set statically or by shader programs. More…
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
sizeMode()
def
value()
Slots¶
def
setSizeMode()
def
setValue()
Signals¶
def
valueChanged()
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 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
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property sizeModeᅟ: Qt3DRender.QPointSize.SizeMode¶
Specifies the sizeMode to be used.
- Access functions:
- property valueᅟ: float¶
Specifies the point size value to be used.
- Access functions:
Signal
valueChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- setSizeMode(sizeMode)¶
- Parameters:
sizeMode –
SizeMode
See also
sizeMode()
Setter of property
sizeModeᅟ
.- setValue(value)¶
- Parameters:
value – float
See also
value()
Setter of property
valueᅟ
.- sizeMode()¶
- Return type:
SizeMode
See also
setSizeMode()
Getter of property
sizeModeᅟ
.- sizeModeChanged(sizeMode)¶
- Parameters:
sizeMode –
SizeMode
Notification signal of property
sizeModeᅟ
.- value()¶
- Return type:
float
See also
setValue()
Getter of property
valueᅟ
.- valueChanged(value)¶
- Parameters:
value – float
Notification signal of property
valueᅟ
.