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

Script language

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

MaterialProperty.displayName

public string displayName;

Description

Display name of the property (Read Only).

This is the user-visible property name, for example "Main Texture" that is declared in the shader's Properties block.

See Also: name.

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