docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlendLightingScenario

    BlendLightingScenario(string, float)

    Allows smooth transitions between two lighting scenarios. This only affects the runtime data used for lighting.

    Declaration
    public void BlendLightingScenario(string otherScenario, float blendingFactor)
    Parameters
    Type Name Description
    string otherScenario

    The name of the scenario to load.

    float blendingFactor

    The factor used to interpolate between the active scenario and otherScenario. Accepted values range from 0 to 1 and will progressively blend from the active scenario to otherScenario.

    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)