mats | The selected materials. |
MaterialProperty[] Returns the material properties.
Get shader property information of the materials you pass in.
When implementing custom MaterialEditors, you'd usually pass the this.targets
array to this function, where this.targets
is all the selected materials.
Additional resources: MaterialProperty.