DebugGizmos, a helpful visualization tool for rendering points, lines, and axes in your game view. It provides an interface similar to Unity’s Gizmos API, but with a few notable differences:DebugGizmos methods from within regular Unity lifecycle methods, such as Update and LateUpdate. For editor-time rendering, you can call methods from within Unity OnDrawGizmos methods.Gizmos, which renders lines using GPU specific line rendering methods and is sometimes restricted to 1px width lines, DebugGizmos creates both spheres and lines using custom instanced rendering.PolylineRenderer.
class to create a rectangular prism per line segment which is then clipped in the fragment shader to only render a capsule contained within each prism.