pub struct AnimCurve {
pub keyframes: Vec<(f32, f32, f32, f32)>,
pub extrapolate: Extrapolate,
}Expand description
Hermite-interpolated keyframe curve (maps time → value).
Fields§
§keyframes: Vec<(f32, f32, f32, f32)>Sorted list of (time, value, in_tangent, out_tangent).
extrapolate: ExtrapolateImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimCurve
impl RefUnwindSafe for AnimCurve
impl Send for AnimCurve
impl Sync for AnimCurve
impl Unpin for AnimCurve
impl UnsafeUnpin for AnimCurve
impl UnwindSafe for AnimCurve
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