QPointSize

PyQt5.Qt3DRender.QPointSize

Inherits from QRenderState.

Description

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

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.

Enums

SizeMode

This enumeration specifies values for the size mode.

Member

Value

Description

Fixed

0

The point size is by the QPointSize::value.

Programmable

1

The point size value must be set in shader

Methods

__init__(parent: QNode = None)

TODO


setSizeMode(SizeMode)

See also

sizeMode().


setValue(float)

See also

value().


sizeMode() → SizeMode

See also

setSizeMode().


value() → float

See also

setValue().

Signals

sizeModeChanged(SizeMode)

TODO


valueChanged(float)

TODO