# LineTextureMode

> Choose how textures are applied to Lines and Trails.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum LineTextureMode
```

## Fields

| Value                                                                                                       | Description                                                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DistributePerSegment](/engine/6000.6/script-reference/unityengine/linetexturemode/distributepersegment.md) | Map the texture once along the entire length of the line, assuming all vertices are evenly spaced.                                                                                                                   |
| [RepeatPerSegment](/engine/6000.6/script-reference/unityengine/linetexturemode/repeatpersegment.md)         | Repeat the texture along the line, repeating at a rate of once per line segment. To adjust the tiling rate, use [Material.SetTextureScale](/engine/6000.6/script-reference/unityengine/material/settexturescale.md). |
| [Static](/engine/6000.6/script-reference/unityengine/linetexturemode/static.md)                             | Trails do not change the texture coordinates of existing points when they add or remove points.                                                                                                                      |
| [Stretch](/engine/6000.6/script-reference/unityengine/linetexturemode/stretch.md)                           | Map the texture once along the entire length of the line.                                                                                                                                                            |
| [Tile](/engine/6000.6/script-reference/unityengine/linetexturemode/tile.md)                                 | Repeat the texture along the line, based on its length in world units. To set the tiling rate, use [Material.SetTextureScale](/engine/6000.6/script-reference/unityengine/material/settexturescale.md).              |
