Contents

deviceWhiteBalanceGains

The current device-specific RGB white balance gain values in use.

Declaration

var deviceWhiteBalanceGains: AVCaptureDevice.WhiteBalanceGains { get }

Discussion

This property specifies the current red, green, and blue gain values used for white balance. You can use the values to adjust color casts for a given scene. Each channel supports values between 1.0 and -maxWhiteBalanceGain.

This property is key-value observable.

See Also

Inspecting gain levels