pub struct VmdPartsInput<'a> {
pub descriptor: VmdPartsDescriptor,
pub bone_name_indices: &'a [u32],
pub bone_frames: &'a [u32],
pub bone_translations_xyz: &'a [f32],
pub bone_rotations_xyzw: &'a [f32],
pub bone_interpolations: &'a [u8],
pub morph_name_indices: &'a [u32],
pub morph_frames: &'a [u32],
pub morph_weights: &'a [f32],
}Expand description
Typed SoA channels consumed by build_vmd_animation_from_parts.
Fields§
§descriptor: VmdPartsDescriptor§bone_name_indices: &'a [u32]§bone_frames: &'a [u32]§bone_translations_xyz: &'a [f32]§bone_rotations_xyzw: &'a [f32]§bone_interpolations: &'a [u8]§morph_name_indices: &'a [u32]§morph_frames: &'a [u32]§morph_weights: &'a [f32]Trait Implementations§
Source§impl<'a> Clone for VmdPartsInput<'a>
impl<'a> Clone for VmdPartsInput<'a>
Source§fn clone(&self) -> VmdPartsInput<'a>
fn clone(&self) -> VmdPartsInput<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<'a> Freeze for VmdPartsInput<'a>
impl<'a> RefUnwindSafe for VmdPartsInput<'a>
impl<'a> Send for VmdPartsInput<'a>
impl<'a> Sync for VmdPartsInput<'a>
impl<'a> Unpin for VmdPartsInput<'a>
impl<'a> UnsafeUnpin for VmdPartsInput<'a>
impl<'a> UnwindSafe for VmdPartsInput<'a>
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