기술 자료

Unity Engine

Unity Engine

textureMode

Choose whether the U coordinate of the trail Texture is tiled or stretched.
읽는 시간 1분최근 업데이트: 한 달 전

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.