pub struct JointKeyframes {
pub joint_idx: usize,
pub times: Vec<f32>,
pub translations: Option<Vec<[f32; 3]>>,
pub rotations: Option<Vec<[f32; 4]>>,
pub scales: Option<Vec<[f32; 3]>>,
}Expand description
Per-joint animation keyframe data.
Fields§
§joint_idx: usize§times: Vec<f32>§translations: Option<Vec<[f32; 3]>>§rotations: Option<Vec<[f32; 4]>>§scales: Option<Vec<[f32; 3]>>Auto Trait Implementations§
impl Freeze for JointKeyframes
impl RefUnwindSafe for JointKeyframes
impl Send for JointKeyframes
impl Sync for JointKeyframes
impl Unpin for JointKeyframes
impl UnsafeUnpin for JointKeyframes
impl UnwindSafe for JointKeyframes
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more