pub struct AnimClip {
pub name: String,
pub duration: f32,
pub fps: f32,
pub looping: bool,
pub channels: Vec<AnimChannel>,
pub root_motion: Option<RootMotionData>,
}Expand description
An animation clip: a named collection of channels over time.
Fields§
§name: String§duration: f32§fps: f32§looping: bool§channels: Vec<AnimChannel>§root_motion: Option<RootMotionData>Root-motion channel (optional). Stores world-space delta per frame.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimClip
impl RefUnwindSafe for AnimClip
impl Send for AnimClip
impl Sync for AnimClip
impl Unpin for AnimClip
impl UnsafeUnpin for AnimClip
impl UnwindSafe for AnimClip
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