pub struct FbxAnimSampler {
pub input: Vec<f32>,
pub output: Vec<f32>,
pub interpolation: FbxAnimInterpolation,
pub in_tangents: Option<Vec<f32>>,
pub out_tangents: Option<Vec<f32>>,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
One animation sampler (a flat TRS or morph-weight track).
Fields§
§input: Vec<f32>Strictly increasing keyframe times in seconds.
output: Vec<f32>Flattened keyframe values, component_count() values per input entry.
interpolation: FbxAnimInterpolationCoarse interpolation mode.
in_tangents: Option<Vec<f32>>Flattened incoming cubic tangents in output units per second.
out_tangents: Option<Vec<f32>>Flattened outgoing cubic tangents in output units per second.
Trait Implementations§
Source§impl Clone for FbxAnimSampler
impl Clone for FbxAnimSampler
Source§fn clone(&self) -> FbxAnimSampler
fn clone(&self) -> FbxAnimSampler
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 moreAuto Trait Implementations§
impl Freeze for FbxAnimSampler
impl RefUnwindSafe for FbxAnimSampler
impl Send for FbxAnimSampler
impl Sync for FbxAnimSampler
impl Unpin for FbxAnimSampler
impl UnsafeUnpin for FbxAnimSampler
impl UnwindSafe for FbxAnimSampler
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