LineTextureMode
Choose how textures are applied to Lines and Trails.
Elements
Element | Description |
---|---|
LineTextureMode.DistributePerSegment | Map the texture once along the entire length of the line, assuming all vertices are evenly spaced. |
LineTextureMode.RepeatPerSegment | Repeat the texture along the line, repeating at a rate of once per line segment. To adjust the tiling rate, use Material.SetTextureScale. |
LineTextureMode.Stretch | Map the texture once along the entire length of the line. |
LineTextureMode.Tile | Repeat the texture along the line, based on its length in world units. To set the tiling rate, use Material.SetTextureScale. |