pygfx.materials.LineInfiniteSegmentMaterial
- class pygfx.materials.LineInfiniteSegmentMaterial(start_is_infinite=True, end_is_infinite=True, **kwargs)
Bases:
LineSegmentMaterialInfinite line segment material.
A material that renders infenitely long line segments between each two subsequent points. The end-points of each segment are displaced (along the vector defined by the two points) such that the points are at the edge of the viewport. Other than that, dashing, vertex colors, etc. should work as expected (interpolating between the points that are now on the viewport edge).
- Parameters:
- property start_is_infinite
Whether start of each segment is made infinitely long.
- property end_is_infinite
Whether end of each segment is made infinitely long.