docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetupMaterialKeywordsAndPass

    SetupMaterialKeywordsAndPass(Material)

    Sets up the keywords and passes for the material you pass in as a parameter.

    Declaration
    [Obsolete("SetupMaterialKeywordsAndPass has been renamed ValidateMaterial", false)]
    protected virtual void SetupMaterialKeywordsAndPass(Material material)
    Parameters
    Type Name Description
    Material material

    Target material.

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