docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ValidateMaterial

    ValidateMaterial(Material)

    Sets up the keywords and passes for the current selected material.

    Declaration
    public override void ValidateMaterial(Material material)
    Parameters
    Type Name Description
    Material material

    The selected material.

    Overrides
    ShaderGUI.ValidateMaterial(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)