docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetIntensity

    SetIntensity(float)

    Set the intensity of the light using the current unit.

    Declaration
    public void SetIntensity(float intensity)
    Parameters
    Type Name Description
    float intensity

    SetIntensity(float, LightUnit)

    Set the intensity of the light using unit in parameter.

    Declaration
    public void SetIntensity(float intensity, LightUnit unit)
    Parameters
    Type Name Description
    float intensity
    LightUnit unit

    Unit must be a valid Light Unit for the current light type

    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)