docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetEmissiveColor

    SetEmissiveColor(Material, Color)

    Set the Emissive Color on Lit, Unlit and Decal shaders.

    Declaration
    public static void SetEmissiveColor(Material material, Color value)
    Parameters
    Type Name Description
    Material material

    The material to change.

    Color value

    The emissive color. In LDR if the material uses a separate emissive intensity value, in HDR otherwise.

    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)