Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


textureMode

Choose whether the U coordinate of the trail Texture is tiled or stretched.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public ParticleSystemTrailTextureMode textureMode { get; set; }

Remarks

Stretching maps the texture along the trail with no repeats. Tiling maps the texture along the trail with repeats every world unit. To change the repeat rate, use ParticleSystem.TrailModule.textureScale or Material.SetTextureScale.