whiteBalance

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

The white balance adjustment is defined with two values:

  • Temperature -1.0, +1.0: Modifies colors on a blue/yellow axis. -1.0 is equivalent to 50,000K (cool/blue), +1.0 is equivalent to 2,000K (warm/yellow). Lower values appear cooler, higher values appear warmer.

  • Tint -1.0, +1.0: Modifies colors on a green/magenta axis. -1.0 applies a strong green cast, +1.0 applies a strong magenta cast.

Both values are clipped to the range -1.0, +1.0 if outside this range. Default: temperature=0, tint=0 (no adjustment).

Return

This Builder, for chaining calls

Parameters

temperature

Modification on the blue/yellow axis -1.0, +1.0

tint

Modification on the green/magenta axis -1.0, +1.0

expect fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

The white balance adjustment is defined with two values:

  • Temperature -1.0, +1.0: Modifies colors on a blue/yellow axis. -1.0 is equivalent to 50,000K (cool/blue), +1.0 is equivalent to 2,000K (warm/yellow). Lower values appear cooler, higher values appear warmer.

  • Tint -1.0, +1.0: Modifies colors on a green/magenta axis. -1.0 applies a strong green cast, +1.0 applies a strong magenta cast.

Both values are clipped to the range -1.0, +1.0 if outside this range. Default: temperature=0, tint=0 (no adjustment).

Return

This Builder, for chaining calls

Parameters

temperature

Modification on the blue/yellow axis -1.0, +1.0

tint

Modification on the green/magenta axis -1.0, +1.0

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

The white balance adjustment is defined with two values:

  • Temperature -1.0, +1.0: Modifies colors on a blue/yellow axis. -1.0 is equivalent to 50,000K (cool/blue), +1.0 is equivalent to 2,000K (warm/yellow). Lower values appear cooler, higher values appear warmer.

  • Tint -1.0, +1.0: Modifies colors on a green/magenta axis. -1.0 applies a strong green cast, +1.0 applies a strong magenta cast.

Both values are clipped to the range -1.0, +1.0 if outside this range. Default: temperature=0, tint=0 (no adjustment).

Return

This Builder, for chaining calls

Parameters

temperature

Modification on the blue/yellow axis -1.0, +1.0

tint

Modification on the green/magenta axis -1.0, +1.0

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

The white balance adjustment is defined with two values:

  • Temperature -1.0, +1.0: Modifies colors on a blue/yellow axis. -1.0 is equivalent to 50,000K (cool/blue), +1.0 is equivalent to 2,000K (warm/yellow). Lower values appear cooler, higher values appear warmer.

  • Tint -1.0, +1.0: Modifies colors on a green/magenta axis. -1.0 applies a strong green cast, +1.0 applies a strong magenta cast.

Both values are clipped to the range -1.0, +1.0 if outside this range. Default: temperature=0, tint=0 (no adjustment).

Return

This Builder, for chaining calls

Parameters

temperature

Modification on the blue/yellow axis -1.0, +1.0

tint

Modification on the green/magenta axis -1.0, +1.0

actual fun whiteBalance(temperature: Float, tint: Float): ColorGrading.Builder

Adjusts the white balance of the image to remove color casts or for artistic purposes.

The white balance adjustment is defined with two values:

  • Temperature -1.0, +1.0: Modifies colors on a blue/yellow axis. -1.0 is equivalent to 50,000K (cool/blue), +1.0 is equivalent to 2,000K (warm/yellow). Lower values appear cooler, higher values appear warmer.

  • Tint -1.0, +1.0: Modifies colors on a green/magenta axis. -1.0 applies a strong green cast, +1.0 applies a strong magenta cast.

Both values are clipped to the range -1.0, +1.0 if outside this range. Default: temperature=0, tint=0 (no adjustment).

Return

This Builder, for chaining calls

Parameters

temperature

Modification on the blue/yellow axis -1.0, +1.0

tint

Modification on the green/magenta axis -1.0, +1.0