QPointSize¶
Specifies the size of rasterized points. May either be set statically or by shader programs. More…
Synopsis¶
Functions¶
Slots¶
def
setSizeMode
(sizeMode)def
setValue
(value)
Signals¶
def
sizeModeChanged
(sizeMode)def
valueChanged
(value)
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.Qt3DRender.QPointSize([parent=None])¶
- Parameters:
parent –
PySide2.Qt3DCore.Qt3DCore.QNode
- PySide2.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
- PySide2.Qt3DRender.Qt3DRender.QPointSize.setSizeMode(sizeMode)¶
- Parameters:
sizeMode –
SizeMode
Specifies the to be used.
- PySide2.Qt3DRender.Qt3DRender.QPointSize.setValue(value)¶
- Parameters:
value – float
Specifies the point size value to be used.
- PySide2.Qt3DRender.Qt3DRender.QPointSize.sizeMode()¶
- Return type:
Specifies the to be used.
- PySide2.Qt3DRender.Qt3DRender.QPointSize.value()¶
- Return type:
float
Specifies the point size value to be used.
- PySide2.Qt3DRender.Qt3DRender.QPointSize.valueChanged(value)¶
- Parameters:
value – float
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.