docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetUseEmissiveIntensity

    GetUseEmissiveIntensity(Material)

    Compares a material's color and intensity values to determine if they are different. Works with Lit, Unlit and Decal shaders.

    Declaration
    public static bool GetUseEmissiveIntensity(Material material)
    Parameters
    Type Name Description
    Material material

    The material to change.

    Returns
    Type Description
    bool

    True if the material uses different color and intensity values.

    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)