mats | The selected materials. |
name | Property name. |
propertyIndex | Property index. |
MaterialProperty Returns the property at the specified index.
Get information about a single shader property.
When implementing custom MaterialEditors, you'd usually pass the this.targets
array to this function, where this.targets
is all the selected materials.
See Also: GetMaterialProperties, MaterialProperty.