Fixed
constructor(refractionStrength: Float = 0.7f, refractionHeightFraction: Float = 0.25f, refractionDisplacement: Dp = 15.dp, depth: Float = 1.0f, blurRadius: Dp = 14.dp, progressive: HazeProgressive? = null)
Parameters
refractionStrength
Finite strength of the refraction response, in the inclusive range 0f..1f.
refractionDisplacement
Specified, finite, non-negative maximum distance that refraction displaces content. There is no authored upper limit.
refractionHeightFraction
Fraction of the material's shortest side used by the refraction profile, as a finite value in the inclusive range 0f..1f.
depth
Finite depth perception factor in the inclusive range 0f..1f. Values greater than 0f require drawing an additional blurred sample for the glass content, which has a rendering cost.
blurRadius
Specified, finite, non-negative maximum blur radius before the renderer's adaptive scale is applied. There is no authored upper limit.
progressive
Optional progressive intensity applied to the blur.