GlassStyleScope
Receiver for Glass appearance property writes.
Property functions validate values when the Style's block runs. Invalid direct Glass numbers throw IllegalArgumentException, except that alpha is clamped into 0f..1f and negative shape corner radii are treated as zero, so animation overshoot never throws. Calling a function again writes a later value which takes precedence.
Functions
Sets finite ambient-light response in the inclusive range 0f..1f.
Sets any specified color, including transparent, composited behind the captured input.
Sets the finite chroma multiplier in the inclusive range 0f..2f.
Sets the quality mode used to render chromatic aberration.
Sets finite chromatic dispersion strength in the inclusive range 0f..1f.
Sets the finite blend between generated and captured normals in inclusive 0f..1f.
Sets the shape-following edge shadow rendered with the specular rim.
Sets a specified, finite, non-negative softening distance around the material boundary. There is no authored upper limit.
Declares the response evaluated by each node while it is focused.
Sets a finite, non-negative exponent controlling Fresnel response falloff. There is no authored upper limit.
Declares the response evaluated by each node while it is hovered.
Sets the interaction-light radius as a fraction of the material's shortest side.
Sets the animation used for focus and InteractionSource-derived positions.
Aligns the virtual light within each material's measured bounds.
Sets the optical model used to refract and blur captured content.
Transforms the optics established by defaults and earlier Style writes.
Declares the response evaluated by each node while it is pressed.
Sets the rounded boundary used for refraction and masking.
Sets a finite, non-negative exponent controlling specular highlight concentration. There is no authored upper limit.
Sets finite specular-highlight intensity in the inclusive range 0f..1f.
Sets the surface cross-section used for lighting and RefractionProfile.Surface refraction. RefractionProfile.Edge authors its sampling response independently.
Sets finite white-point adjustment in the inclusive range -1f..1f.