docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetUnlitColor

    GetUnlitColor(Material, out Color)

    Returns the color of an unlit material

    Declaration
    protected virtual bool GetUnlitColor(Material uMaterial, out Color baseColor)
    Parameters
    Type Name Description
    Material uMaterial

    Unity material

    Color baseColor

    Resulting unlit color

    Returns
    Type Description
    bool

    True if the unlit color was retrieved, false otherwise

    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)