Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Repeat

Tiles the texture, creating a repeating pattern.
Read time 1 minuteLast updated 4 days ago

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.