ドキュメント

Unity Engine

Unity Engine

textureMode

Choose whether the U coordinate of the trail Texture is tiled or stretched.
読み終わるまでの所要時間 1 分最終更新 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.