Contents

temperatureAndTintValues(for:)

Converts device-specific white balance RGB gain values to device-independent temperature and tint values.

Declaration

func temperatureAndTintValues(for whiteBalanceGains: AVCaptureDevice.WhiteBalanceGains) -> AVCaptureDevice.WhiteBalanceTemperatureAndTintValues

Parameters

Return Value

A structure that contains device-independent values.

Discussion

Each change in the structure supports values between 1.0 and maxWhiteBalanceGain. This method throws an exception if you specify an unsupported value.

See Also

Performing conversions