Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


wrapMode

Options for sampling a texture if a texture coordinate is outside the [0, 1] range.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public TextureWrapMode wrapMode { get; set; }

Remarks

Using wrapMode sets the same wrapping mode on all axes. Different per-axis wrap modes can be set using Texture.wrapModeU, Texture.wrapModeV, Texture.wrapModeW. Querying the value returns the U axis wrap mode (same as Texture.wrapModeU getter).
Additional Resources: TextureWrapMode, Texture assets.