@@ -7,18 +7,18 @@ use bevy::{
77
88use crate :: { RotationEasingState , ScaleEasingState , TranslationEasingState } ;
99
10- /// A [`Command`] that resets the interpolation state of an entity.
10+ /// A [`Command`] that resets the easing states of an entity.
1111///
12- /// This disables interpolation for the remainder of the current fixed time step,
12+ /// This disables easing for the remainder of the current fixed time step,
1313/// allowing you to freely set the [`Transform`](bevy::transform::components::Transform)
14- /// of the entity without any interpolation being applied.
14+ /// of the entity without any easing being applied.
1515#[ derive( Clone , Copy , Debug , PartialEq , Eq , Reflect ) ]
1616#[ cfg_attr( feature = "serialize" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
1717#[ cfg_attr( feature = "serialize" , reflect( Serialize , Deserialize ) ) ]
1818#[ reflect( Debug , PartialEq ) ]
19- pub struct ResetInterpolation ( pub Entity ) ;
19+ pub struct ResetEasing ( pub Entity ) ;
2020
21- impl Command for ResetInterpolation {
21+ impl Command for ResetEasing {
2222 fn apply ( self , world : & mut World ) {
2323 let Ok ( mut entity_mut) = world. get_entity_mut ( self . 0 ) else {
2424 return ;
0 commit comments