Version: 2020.1
LanguageEnglish
  • C#

ShaderPropertyFlags.NoScaleOffset

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Do not show UV scale/offset fields next to Textures in the default Material Inspector.

This flag is only relevant to Texture shader properties, and only hides the UI for UV scale/offset fields. Unity still serializes the underlying "YourTexturePropertyName_ST" vector property in the Material Assets.

This flag corresponds to the "[NoScaleOffset]" attribute.

Did you find this page useful? Please give it a rating: