pub struct AnimationGroup {
pub clips: Vec<AnimationClip>,
pub default_blend: f32,
pub blends: Vec<AnimationBlend>,
pub blend_matrix: Vec<f32>,
}Expand description
A group of animation clips for one skeleton.
Fields§
§clips: Vec<AnimationClip>The clips.
default_blend: f32The blend time between clips that have no blend of their own, in seconds.
blends: Vec<AnimationBlend>The blends between named clips.
blend_matrix: Vec<f32>Precompiled [new clip][previous clip] transition matrix.
Implementations§
Source§impl AnimationGroup
impl AnimationGroup
Sourcepub fn read(r: &mut Reader<'_>) -> Result<Self>
pub fn read(r: &mut Reader<'_>) -> Result<Self>
Graphics::AnimationGroup::Serialize and Graphics::Animation::Serialize from the Ghidra
Runtime export. Animation samples are 4 quaternion floats and 3 translation floats;
UpdateNodes interpolates adjacent samples per mesh node.
Original: Runtime 0x1800fdf30, Runtime 0x1800fd910.
Trait Implementations§
Source§impl Clone for AnimationGroup
impl Clone for AnimationGroup
Source§fn clone(&self) -> AnimationGroup
fn clone(&self) -> AnimationGroup
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 Freeze for AnimationGroup
impl RefUnwindSafe for AnimationGroup
impl Send for AnimationGroup
impl Sync for AnimationGroup
impl Unpin for AnimationGroup
impl UnsafeUnpin for AnimationGroup
impl UnwindSafe for AnimationGroup
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