Version: 2017.2

MaterialEditor.GetMaterialProperties

Switch to Manual
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.