pygfx.materials.LineSegmentMaterial

class pygfx.materials.LineSegmentMaterial(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

Line segment material.

A material that renders line segments between each two subsequent points.