This version of Unity is unsupported.

MaterialEditor.GetMaterialProperties

Declaration

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.