GlassInteractionScope
Declares the visual response for one Glass interaction state.
This sealed receiver is implemented by Haze and is a declaration DSL, not a consumer implementation point. Each node evaluates recorded declarations into node-owned runtime state.
Functions
Link copied to clipboard
abstract fun animate(toSpec: FiniteAnimationSpec<Float>, fromSpec: FiniteAnimationSpec<Float>, block: GlassInteractionScope.() -> Unit)
Applies toSpec when entering and fromSpec when leaving the response declared by block. Animation specs retain the contract of their owning FiniteAnimationSpec type.
Link copied to clipboard
Sets the finite lighting multiplier in the inclusive range 0f..1f.
Link copied to clipboard
Sets the finite refraction multiplier in the inclusive range 0f..2f.
Link copied to clipboard
Sets the finite additive white-point adjustment in the inclusive range -1f..1f.