Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

MaterialEditor.GetMaterialProperties

public static MaterialProperty[] GetMaterialProperties(Object[] mats);

Description

Get shader property information of the passed materials.

When implementing custom MaterialEditors, you'd usually pass this.targets array to this function, i.e. all the selected materials.

See Also: MaterialProperty.

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