Unity uses specialised components to configure and render lines, trails, and billboardsA textured 2D object that rotates so that it always faces the Camera. More info
See in Glossary.
How you work with lines, trails, and billboards depends on the render pipeline you use.
Feature name | Built-in Render Pipeline | Universal Render Pipeline (URP) | High Definition Render Pipeline (HDRP) |
---|---|---|---|
Line RendererA component that takes an array of two or more points in 3D space and draws a straight line between each one. You can use a single Line Renderer component to draw anything from a simple straight line to a complex spiral. More info See in Glossary component |
Yes. | Yes. | Yes. |
Trail Renderer component | Yes. | Yes. You can also use VFX Graph to create a custom trail effect. |
Yes. You can also use VFX Graph to create a custom trail effect. |
Billboard Renderer component | Yes. | Yes. | Yes. Only with VFX Graph. |