pub enum FbxAnimInterpolation {
Step,
Linear,
Cubic,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
Coarse interpolation kind decoded from KeyAttrFlags.
Variants§
Step
Hold previous value.
Linear
Linear blend between keys.
Cubic
Cubic Hermite blend with explicit per-key tangents.
Implementations§
Source§impl FbxAnimInterpolation
impl FbxAnimInterpolation
Sourcepub fn to_key_attr_flags(self) -> i32
pub fn to_key_attr_flags(self) -> i32
Maps to the FBX KeyAttrFlags interpolation bits.
Sourcepub fn from_key_attr_flags(flags: i32) -> Self
pub fn from_key_attr_flags(flags: i32) -> Self
Decodes the interpolation mode from a KeyAttrFlags entry.
Trait Implementations§
Source§impl Clone for FbxAnimInterpolation
impl Clone for FbxAnimInterpolation
Source§fn clone(&self) -> FbxAnimInterpolation
fn clone(&self) -> FbxAnimInterpolation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FbxAnimInterpolation
Source§impl Debug for FbxAnimInterpolation
impl Debug for FbxAnimInterpolation
impl Eq for FbxAnimInterpolation
Source§impl PartialEq for FbxAnimInterpolation
impl PartialEq for FbxAnimInterpolation
impl StructuralPartialEq for FbxAnimInterpolation
Auto Trait Implementations§
impl Freeze for FbxAnimInterpolation
impl RefUnwindSafe for FbxAnimInterpolation
impl Send for FbxAnimInterpolation
impl Sync for FbxAnimInterpolation
impl Unpin for FbxAnimInterpolation
impl UnsafeUnpin for FbxAnimInterpolation
impl UnwindSafe for FbxAnimInterpolation
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