文档

Unity Engine

Unity Engine

wrapMode

Texture coordinate wrapping mode.
阅读时间1 分钟最后更新于 1 个月前

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.