Legacy Documentation: Version 2018.2 (Go to current version)
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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答