Declaration

Discussion

This property specifies the current red, green, and blue gain values derived from the current scene to deliver a neutral (or gray world) white point for white balance.

Gray world values assume a neutral subject (for example, a gray card) has been placed in the middle of the subject area and fills the center 50% of the frame. Clients can read these values and apply them to the device using setWhiteBalanceModeLocked(with:completionHandler:).

For each channel, only values between 1.0 and maxWhiteBalanceGain are supported. The value can be read at any time, regardless of white balance mode.