pub fn animate_keyframes<T>(
id: impl Into<TransitionId>,
keyframes: &Keyframes<T>,
timing: Timing,
window: &mut Window,
cx: &mut App,
) -> MotionValue<T>where
T: Interpolate + 'static,Expand description
Samples a keyed keyframe playback and requests frames while it is active.
The stable id owns the playback’s start time. Re-rendering with the same
ID continues that playback; it does not restart when keyframes or timing
is reconstructed. To replay a sequence, include an application-owned
generation in the ID, for example ("notification-enter", generation).