Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NoScaleOffset

Do not show UV scale/offset fields next to a texture.
Read time 1 minuteLast updated 9 days ago

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.