pub struct Animation {
pub channels: HashMap<usize, PosRotScale>,
pub duration: f32,
}
Fields§
§channels: HashMap<usize, PosRotScale>
Maps the node index of a joint to its animation keyframe data.
duration: f32
The total duration of the animation. Computed as the maximum time of any keyframe on any channel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
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