Method FindMaterialsByProperty
FindMaterialsByProperty(string, string, bool)
Returns all materials which match a given property value
Declaration
[HandleProcessCorruptedStateExceptions]
public MaterialList FindMaterialsByProperty(string propertyName, string propertyValue, bool caseInsensitive = false)
Parameters
Type | Name | Description |
---|---|---|
string | propertyName | Name of the property to match |
string | propertyValue | Regular expression to match for the property value |
bool | caseInsensitive | If True, the regex will be insensitive to upper and lower cases |
Returns
Type | Description |
---|---|
MaterialList |