docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetMaterialMainColor

    SetMaterialMainColor(uint, ColorAlpha)

    Set the main color on any material pattern type

    Declaration
    public void SetMaterialMainColor(uint material, ColorAlpha color)
    Parameters
    Type Name Description
    uint material

    The material to apply the color on

    ColorAlpha color

    The color to apply

    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)