docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetEmissiveIntensity

    SetEmissiveIntensity(Material, float, EmissiveIntensityUnit)

    Set the Emissive Intensity on Lit, Unlit and Decal shaders. If the material doesn't use emissive intensity, this won't have any effect.

    Declaration
    public static void SetEmissiveIntensity(Material material, float intensity, EmissiveIntensityUnit unit)
    Parameters
    Type Name Description
    Material material

    The material to change.

    float intensity

    The emissive intensity.

    EmissiveIntensityUnit unit

    The unit of the intensity parameter.

    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)