zng_color

Function hsla_linear_sampler

source
pub fn hsla_linear_sampler<T: Transitionable>(
    t: &Transition<T>,
    step: EasingStep,
) -> T
Expand description

Animation sampler that sets the lerp_space to LerpSpace::HslaLinear.

Samplers can be set in animations using the Var::easing_with method.