Struct rend3_gltf::Animation
source · [−]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 RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more