docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindMaterialsByProperty

    FindMaterialsByProperty(string, Regex)

    Returns all materials which match a given property value

    Declaration
    public MaterialList FindMaterialsByProperty(string propertyName, Regex propertyValue)
    Parameters
    Type Name Description
    string propertyName

    Name of the property to match

    Regex propertyValue

    Regular expression to match for the property value

    Returns
    Type Description
    MaterialList
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)