ParticleSystemTrailTextureMode
Choose how textures are applied to Particle Trails.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public enum ParticleSystemTrailTextureMode
Fields
Value | Description |
|---|---|
| DistributePerSegment | Map the texture once along the entire length of the trail, assuming all vertices are evenly spaced. |
| RepeatPerSegment | Repeat the texture along the trail, repeating at a rate of once per trail segment. To adjust the tiling rate, use Material.SetTextureScale. |
| Static | Trails do not change the texture coordinates of existing points when they add or remove points. |
| Stretch | Map the texture once along the entire length of the trail. |
| Tile | Repeat the texture along the trail. To set the tiling rate, use Material.SetTextureScale. |