pub enum GltfInterpolationMode {
Step,
Linear,
CubicSpline,
}Expand description
Keyframe interpolation mode defined by glTF 2.0 animation samplers.
Variants§
Step
Constant piecewise hold (STEP).
Linear
Linear or quaternion SLERP interpolation (LINEAR).
CubicSpline
Hermite cubic spline with (in_tangent, value, out_tangent) triplets (CUBICSPLINE).
Trait Implementations§
Source§impl Clone for GltfInterpolationMode
impl Clone for GltfInterpolationMode
impl Copy for GltfInterpolationMode
Source§impl Debug for GltfInterpolationMode
impl Debug for GltfInterpolationMode
Source§impl Default for GltfInterpolationMode
impl Default for GltfInterpolationMode
impl Eq for GltfInterpolationMode
Source§impl Hash for GltfInterpolationMode
impl Hash for GltfInterpolationMode
Source§impl PartialEq for GltfInterpolationMode
impl PartialEq for GltfInterpolationMode
impl StructuralPartialEq for GltfInterpolationMode
Auto Trait Implementations§
impl Forget for GltfInterpolationMode
impl Freeze for GltfInterpolationMode
impl Move for GltfInterpolationMode
impl RefUnwindSafe for GltfInterpolationMode
impl Send for GltfInterpolationMode
impl Sync for GltfInterpolationMode
impl Unpin for GltfInterpolationMode
impl UnsafeUnpin for GltfInterpolationMode
impl UnwindSafe for GltfInterpolationMode
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