bevy/crates/bevy_animation/src
Mincong Lu 651f3d08d7
Make the component types of the new animation players clonable. (#13736)
# Objective

Some use cases might require holding onto the previous state of the
animation player for change detection.

## Solution

Added `clone` and `copy` implementation to most animation types. 
Added optimized `clone_from` implementations for the specific use case
of holding a `PreviousAnimationPlayer` component.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-06-07 21:51:24 +00:00
..
animatable.rs Remove ClampColor (#13307) 2024-05-10 13:15:56 +00:00
graph.rs Use async-fn in traits rather than BoxedFuture (#12550) 2024-03-18 17:56:57 +00:00
lib.rs Make the component types of the new animation players clonable. (#13736) 2024-06-07 21:51:24 +00:00
transition.rs Make the component types of the new animation players clonable. (#13736) 2024-06-07 21:51:24 +00:00
util.rs Animatable trait for interpolation and blending (#4482) 2024-02-02 21:19:37 +00:00