Style

class Style(val preset: VideoEffectsConfig.StylePreset = StylePreset.OFF, val strength: Float = 1.0f, val levels: Int = 5)

A stylised look applied to the whole picture.

Constructors

Link copied to clipboard
constructor(preset: VideoEffectsConfig.StylePreset = StylePreset.OFF, strength: Float = 1.0f, levels: Int = 5)

Properties

Link copied to clipboard
val levels: Int = 5

how many steps each channel is quantised to by StylePreset.POSTERIZE; ignored by every other preset. 5 by default, and coerced to an odd number in 3..17.

Link copied to clipboard

which look to run. StylePreset.OFF by default.

Link copied to clipboard
val strength: Float = 1.0f

how much of the look to mix in, 0.0..1.0. 1.0 by default. 0.0 is the same as StylePreset.OFF.

Functions

Link copied to clipboard
open override fun toString(): String