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
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 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 light radius recorded by style as a fraction of the material's shortest side.

Link copied to clipboard

Default geometry-aware Haze optical material.

Link copied to clipboard

Default animation recorded by style when the interaction light moves to a new position.

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.4f

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

Link copied to clipboard

Complete default GlassStyle.

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.