Enum ambient_api_core::animation::PlayMode
source · pub enum PlayMode {
Play {
start_time: Duration,
},
FreezeAtTime {
time: f32,
},
FreezeAtPercentage {
percentage: f32,
},
}
Expand description
Play mode for animation nodes
Variants§
Play
Play the animation
FreezeAtTime
Freeze the animation at time
FreezeAtPercentage
Freeze the animation at time = percentage * duration
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PlayMode
impl Send for PlayMode
impl Sync for PlayMode
impl Unpin for PlayMode
impl UnwindSafe for PlayMode
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