pub struct ResolvedBone {
pub bone_id: i32,
pub flags: u32,
pub parent_bone: i16,
pub translation: ResolvedTrack<Vec3>,
pub rotation: ResolvedTrack<Quat>,
pub scale: ResolvedTrack<Vec3>,
pub pivot: Vec3,
}Expand description
Resolved bone animation data
Fields§
§bone_id: i32Bone ID
flags: u32Bone flags
parent_bone: i16Parent bone index (-1 if root)
translation: ResolvedTrack<Vec3>Translation animation track
rotation: ResolvedTrack<Quat>Rotation animation track (quaternion)
scale: ResolvedTrack<Vec3>Scale animation track
pivot: Vec3Pivot point
Trait Implementations§
Source§impl Clone for ResolvedBone
impl Clone for ResolvedBone
Source§fn clone(&self) -> ResolvedBone
fn clone(&self) -> ResolvedBone
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 ResolvedBone
impl RefUnwindSafe for ResolvedBone
impl Send for ResolvedBone
impl Sync for ResolvedBone
impl Unpin for ResolvedBone
impl UnwindSafe for ResolvedBone
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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