文档

Unity Engine

Unity Engine

Repeat

Tiles the texture, creating a repeating pattern.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Repeat = 0

Remarks

When UVs are outside of the 0...1 range, the integer part will be ignored, thus creating a repeating pattern.
Additional Resources: Texture.wrapMode, texture assets.