RgbAdjustment

class RgbAdjustment(val red: Float = 1.0f, val green: Float = 1.0f, val blue: Float = 1.0f) : EffectSpec(source)

Multiply each color channel by its own factor.

Brightness with a separate factor per channel: the multiply lands on the encoded signal, black stays black, and a channel that climbs past white clamps there. Unequal factors tint the frame, so scaling red down and blue up cools it.

Throws

when any of the three is not a finite number.

Constructors

Link copied to clipboard
constructor(red: Float = 1.0f, green: Float = 1.0f, blue: Float = 1.0f)

Properties

Link copied to clipboard
Link copied to clipboard
val blue: Float

The blue multiplier, read the same way.

Link copied to clipboard

The green multiplier, read the same way.

Link copied to clipboard
open override val id: String
Link copied to clipboard
open val isInert: Boolean
Link copied to clipboard
val red: Float

The red multiplier, where 1f leaves it unchanged. Negative values are read as 0f.

Link copied to clipboard
Link copied to clipboard
open val scope: EffectScope
Link copied to clipboard
open override val stage: EffectStage