pub struct RootKey {
pub time: f32,
pub translation: [f32; 3],
}Expand description
One key of a root-motion curve: the root joint’s stripped translation at
time seconds from the clip start.
Fields§
§time: f32Seconds from the clip start.
translation: [f32; 3]The root joint’s stripped translation at time.
Trait Implementations§
impl Copy for RootKey
Source§impl<'de> Deserialize<'de> for RootKey
impl<'de> Deserialize<'de> for RootKey
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
impl StructuralPartialEq for RootKey
Auto Trait Implementations§
impl Freeze for RootKey
impl RefUnwindSafe for RootKey
impl Send for RootKey
impl Sync for RootKey
impl Unpin for RootKey
impl UnsafeUnpin for RootKey
impl UnwindSafe for RootKey
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