GlassDefaults

Default values used by hazeGlass and GlassStyle resolution.

Properties

Link copied to clipboard
const val alpha: Float = 1.0f

Default overall opacity, in the range 0f..1f.

Link copied to clipboard
const val ambientResponse: Float = 0.46f

Default strength of the ambient lighting response and Fresnel accent, in 0f..1f.

Link copied to clipboard

Default color composited behind captured content before Glass optics are applied.

Link copied to clipboard
const val chromaMultiplier: Float = 1.0f

Default chroma multiplier, in the range 0f..2f.

Link copied to clipboard

Default quality mode used to render chromatic aberration.

Link copied to clipboard

Default chromatic aberration strength, where 0f disables dispersion.

Link copied to clipboard
const val contentNormalBlend: Float = 0.15f

Default blend between generated surface normals and captured content normals.

Link copied to clipboard
const val contrast: Float = 0.0f

Default contrast adjustment, in the range -1f..1f.

Link copied to clipboard

Default dark edge composited with the directional specular highlight.

Link copied to clipboard

Default softening distance for the glass boundary.

Link copied to clipboard
const val fresnelExponent: Float = 3.0f

Default exponent controlling the falloff of the Fresnel response.

Link copied to clipboard

Default interaction light radius as a fraction of the material's shortest side.

Link copied to clipboard

Default size-aware Haze optical material.

Link copied to clipboard

Default animation used for focus and InteractionSource-derived positions.

Link copied to clipboard

Default rounded-rectangle boundary used for refraction and masking.

Link copied to clipboard
const val specularExponent: Float = 24.0f

Default exponent controlling the concentration of specular highlights.

Link copied to clipboard
const val specularIntensity: Float = 0.48f

Default intensity of specular highlights, in the range 0f..1f.

Link copied to clipboard

Default cross-section profile used by the refraction bezel.

Link copied to clipboard
val tint: Color

Default tint applied to refracted content.

Link copied to clipboard
const val whitePoint: Float = 0.0f

Default white-point adjustment, in the range -1f..1f.