pub struct MorphKey {
pub time: f32,
pub weights: Vec<f32>,
}Expand description
One morph-weight keyframe of an Animation: per-target weights at one sample time.
Fields§
§time: f32Sample time in seconds from clip start.
weights: Vec<f32>One weight per morph target, in target order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MorphKey
impl<'de> Deserialize<'de> for MorphKey
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
Auto Trait Implementations§
impl Freeze for MorphKey
impl RefUnwindSafe for MorphKey
impl Send for MorphKey
impl Sync for MorphKey
impl Unpin for MorphKey
impl UnsafeUnpin for MorphKey
impl UnwindSafe for MorphKey
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