Qt3DRender.QPointSize¶
Specifies the size of rasterized points. May either be set statically or by shader programs. More…
Synopsis¶
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 –
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
See also
sizeMode()
-
PySide2.Qt3DRender.Qt3DRender.QPointSize.
setValue
(value)¶ - Parameters
value –
float
See also
value()
-
PySide2.Qt3DRender.Qt3DRender.QPointSize.
value
()¶ - Return type
float
See also
setValue()
-
PySide2.Qt3DRender.Qt3DRender.QPointSize.
valueChanged
(value)¶ - Parameters
value –
float
© 2018 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.