Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


wrapMode

Texture coordinate wrapping mode.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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 TextureImporter.wrapModeU, TextureImporter.wrapModeV, TextureImporter.wrapModeW. Querying the value returns the U axis wrap mode (same as TextureImporter.wrapModeU getter).
Additional Resources: Texture.wrapMode, texture assets.