Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MaterialProperty.PropFlags.Normal

Description

Signifies that values of this property contain Normal (normalized vector) data.

When this flag is set, the default material inspector will display warning if incompatible data was assigned in the Material. For instance default material inspector will warn and suggest to fix the texture that is not marked as Normalmap. This corresponds to "[Normal]" attribute in front of property in the shader code.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答