propertyName | The name of the material property. |
properties | The array of available material properties. |
propertyIsMandatory | If true then this method will throw an exception if a property with propertyName was not found. |
MaterialProperty The material property found, otherwise null.
Find shader properties.
This is a utility method that finds a MaterialProperty by name.