Function zng_color::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.