pub enum AutoTangent {
Smooth,
Monotone,
Flat,
Linear,
}Expand description
How auto_tangents chooses the slope at a keyframe.
Variants§
Smooth
The slope from the previous keyframe to the next (Catmull-Rom).
Monotone
The steepest slope that keeps the curve inside the range of each pair of neighbouring keyframes (Steffen’s monotone interpolation).
Flat
No slope: the curve stops at the keyframe.
Linear
The slope of each side’s own chord, so both sides are straight.
Trait Implementations§
Source§impl Clone for AutoTangent
impl Clone for AutoTangent
impl Copy for AutoTangent
Source§impl Debug for AutoTangent
impl Debug for AutoTangent
impl Eq for AutoTangent
Source§impl PartialEq for AutoTangent
impl PartialEq for AutoTangent
impl StructuralPartialEq for AutoTangent
Auto Trait Implementations§
impl Forget for AutoTangent
impl Freeze for AutoTangent
impl Move for AutoTangent
impl RefUnwindSafe for AutoTangent
impl Send for AutoTangent
impl Sync for AutoTangent
impl Unpin for AutoTangent
impl UnsafeUnpin for AutoTangent
impl UnwindSafe for AutoTangent
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