pub enum AnimInterpolation {
Step,
Linear,
CubicSpline,
}Expand description
Interpolation mode applied between two adjacent keyframes.
Donor: oa::AnimInterpolation. The Rust enum cannot hold the donor’s
castable invalid values, so no separate validity predicate exists.
Variants§
Step
Hold the left keyframe value until the next key.
Linear
Component-wise linear interpolation; quaternions use slerp.
CubicSpline
Hermite spline using per-second in/out tangents.
Trait Implementations§
Source§impl Clone for AnimInterpolation
impl Clone for AnimInterpolation
impl Copy for AnimInterpolation
Source§impl Debug for AnimInterpolation
impl Debug for AnimInterpolation
Source§impl Default for AnimInterpolation
impl Default for AnimInterpolation
impl Eq for AnimInterpolation
Source§impl PartialEq for AnimInterpolation
impl PartialEq for AnimInterpolation
impl StructuralPartialEq for AnimInterpolation
Auto Trait Implementations§
impl Forget for AnimInterpolation
impl Freeze for AnimInterpolation
impl Move for AnimInterpolation
impl RefUnwindSafe for AnimInterpolation
impl Send for AnimInterpolation
impl Sync for AnimInterpolation
impl Unpin for AnimInterpolation
impl UnsafeUnpin for AnimInterpolation
impl UnwindSafe for AnimInterpolation
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