pub struct AnimationTransition {
pub from: u16,
pub to: u16,
pub seconds: f32,
pub exit_time: f32,
pub conditions: Vec<AnimationCondition>,
}Fields§
§from: u16§to: u16§seconds: f32§exit_time: f32Minimum normalized phase (0..=1). Repeating clips wrap at one, so use <1 for a looping exit window, or Finished for one-shot completion.
conditions: Vec<AnimationCondition>AND conditions; an empty list is unconditional. Authored order breaks ties.
Trait Implementations§
Source§impl Clone for AnimationTransition
impl Clone for AnimationTransition
Source§fn clone(&self) -> AnimationTransition
fn clone(&self) -> AnimationTransition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimationTransition
impl RefUnwindSafe for AnimationTransition
impl Send for AnimationTransition
impl Sync for AnimationTransition
impl Unpin for AnimationTransition
impl UnwindSafe for AnimationTransition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more