pygfx.materials.LineThinMaterial

class pygfx.materials.LineThinMaterial(thickness=2.0, thickness_space='screen', *, color=(1, 1, 1, 1), color_mode='auto', map=None, map_interpolation='linear', dash_pattern=(), dash_offset=0, aa=True, **kwargs)

Bases: LineMaterial

Thin line material.

A simple line, drawn with line_strip primitives that has a thickness of one physical pixel. Thickness, dashing, and aa are ignored.

While you typically don’t want to use this in your application (its width is inconsistent and looks very thin on HiDPI monitors), it can be useful for debugging as it is more performant than other line materials.