ドキュメント

Unity Engine

Unity Engine

wrapMode

Texture coordinate wrapping mode.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.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 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.