pub struct FbxAnimation {
pub name: Option<String>,
pub duration: f32,
pub channels: Vec<FbxAnimChannel>,
}Available on crate features
fbx-reader or fbx-writer only.Expand description
One animation take (derived from an AnimationStack + its first layer).
Fields§
§name: Option<String>Name of the AnimationStack, when available.
duration: f32Clip duration in seconds (max last sampler input).
channels: Vec<FbxAnimChannel>Flat list of TRS channels.
Trait Implementations§
Source§impl Clone for FbxAnimation
impl Clone for FbxAnimation
Source§fn clone(&self) -> FbxAnimation
fn clone(&self) -> FbxAnimation
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 FbxAnimation
impl RefUnwindSafe for FbxAnimation
impl Send for FbxAnimation
impl Sync for FbxAnimation
impl Unpin for FbxAnimation
impl UnsafeUnpin for FbxAnimation
impl UnwindSafe for FbxAnimation
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