pub struct RootMotion {
pub space: RootSpace,
pub translation: Option<(Interpolation, Vec<f32>, Vec<f32>)>,
pub rotation: Option<(Interpolation, Vec<f32>, Vec<f32>)>,
}Expand description
A clip’s root motion: how the whole rig moves, in space, apart from its joints. Translation (three values a key)
and rotation (four), each a channel without a target of its own.
Fields§
§space: RootSpace§translation: Option<(Interpolation, Vec<f32>, Vec<f32>)>§rotation: Option<(Interpolation, Vec<f32>, Vec<f32>)>Trait Implementations§
Source§impl Clone for RootMotion
impl Clone for RootMotion
Source§impl Debug for RootMotion
impl Debug for RootMotion
Source§impl<'de> Deserialize<'de> for RootMotion
impl<'de> Deserialize<'de> for RootMotion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RootMotion
impl PartialEq for RootMotion
Source§impl Serialize for RootMotion
impl Serialize for RootMotion
impl StructuralPartialEq for RootMotion
Auto Trait Implementations§
impl Forget for RootMotion
impl Freeze for RootMotion
impl RefUnwindSafe for RootMotion
impl Send for RootMotion
impl Sync for RootMotion
impl Unpin for RootMotion
impl UnsafeUnpin for RootMotion
impl UnwindSafe for RootMotion
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