docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnGainChanged

    OnGainChanged(float, float)

    Set amplification factor applied to the captured light.

    Declaration
    protected virtual void OnGainChanged(float oldGain, float newGain)
    Parameters
    Type Name Description
    float oldGain

    Value of gain before the change

    float newGain

    Multiplicative factor greater than 0

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)