docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MaterialParameter

    MaterialParameter(Material, bool)

    Creates a new MaterialParameter instance.

    Declaration
    public MaterialParameter(Material value, bool overrideState = false)
    Parameters
    Type Name Description
    Material value

    The initial value to store in the parameter

    bool overrideState

    The initial override state for the parameter

    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)