文档

Unity Engine

Unity Engine

NoScaleOffset

Do not show UV scale/offset fields next to a texture.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
NoScaleOffset = 4

Remarks

This is only relevant to texture shader properties. When this flag is set, the default material Inspector will not display UV scale/offset controls for a texture. This corresponds to the "[NoScaleOffset]" attribute in front of a property in the shader code.