TextureWrapMode.RepeatTextureWrapMode.RepeatDescriptionTiles the texture, creating a repeating pattern. When UVs are outside of the 0...1 range, the integer part will be ignored, thus creating a repeating pattern. See Also: Texture.wrapMode, texture assets.
JavaScript
renderer.material.mainTexture.wrapMode = TextureWrapMode.Repeat; using UnityEngine; import UnityEngine |
