zng_color

Function rgba_sampler

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

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

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