| Parameter | Description |
|---|---|
| start | The width at the start of the line. |
| end | The width at the end of the line. |
Set the line width at the start and at the end.
Additional resources: startWidth, endWidth or widthCurve properties.
using UnityEngine;
public class Example : MonoBehaviour { // Adds a lineRenderer to this transform and // Converts the line Renderer into a triangle.
void Start() { LineRenderer lineRenderer = gameObject.AddComponent<LineRenderer>(); lineRenderer.SetWidth(0, 3); } }