Enum ambient_api::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
source§impl<T> Downcast for T
impl<T> Downcast for T
source§impl<T> ElementComponentName for T
impl<T> ElementComponentName for T
source§fn element_component_name(&self) -> &'static str
fn element_component_name(&self) -> &'static str
Returns the name of the type implementing ElementComponent.