docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetMaterialMainColor

    GetMaterialMainColor(uint)

    Get the main color on any material pattern type

    Declaration
    public ColorAlpha GetMaterialMainColor(uint material)
    Parameters
    Type Name Description
    uint material

    The material

    Returns
    Type Description
    ColorAlpha
    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)