Function zng::color::with_lerp_space

source ยท
pub fn with_lerp_space<R>(space: LerpSpace, f: impl FnOnce() -> R) -> R
Expand description

Calls f with lerp_space set to space.

See rgba_sampler and hsla_linear_sampler for a way to set the space in animations.