기술 자료

Unity Engine

Unity Engine

NoScaleOffset

Do not show UV scale/offset fields next to a texture.
읽는 시간 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.