pub struct RootMotionData {
pub frames: Vec<(f32, f32, f32)>,
}Expand description
Per-frame root motion deltas baked from the root bone.
Fields§
§frames: Vec<(f32, f32, f32)>(delta_x, delta_y, delta_rotation) per normalized time step.
Implementations§
Trait Implementations§
Source§impl Clone for RootMotionData
impl Clone for RootMotionData
Source§fn clone(&self) -> RootMotionData
fn clone(&self) -> RootMotionData
Returns a duplicate of the value. Read more
1.0.0 · 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 RootMotionData
impl RefUnwindSafe for RootMotionData
impl Send for RootMotionData
impl Sync for RootMotionData
impl Unpin for RootMotionData
impl UnsafeUnpin for RootMotionData
impl UnwindSafe for RootMotionData
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