Method OnGainChanged
OnGainChanged(float, float)
Set amplification factor applied to the captured light.
Declaration
protected override 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 |