Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

PropFlags

Description

Flags that control how a MaterialProperty is displayed.

Variables

NoneNo flags are set.
HideInInspectorDo not show the property in inspector.
PerRendererDataTexture value for this property will be queried from renderer's MaterialPropertyBlock, instead of from the material. This corresponds to "[PerRendererData]" attribute in front of property in the shader code.