pub struct MorphTargetUpdate { /* private fields */ }Expand description
A single accumulated morph weight (node + target index), ready to apply.
Implementations§
Source§impl MorphTargetUpdate
impl MorphTargetUpdate
Sourcepub fn node_index(&self) -> u32
pub fn node_index(&self) -> u32
Returns the glTF node index containing the updated target.
Sourcepub fn target_index(&self) -> u32
pub fn target_index(&self) -> u32
Returns the updated morph target index.
Trait Implementations§
Source§impl Clone for MorphTargetUpdate
impl Clone for MorphTargetUpdate
impl Copy for MorphTargetUpdate
Source§impl Debug for MorphTargetUpdate
impl Debug for MorphTargetUpdate
Source§impl PartialEq for MorphTargetUpdate
impl PartialEq for MorphTargetUpdate
impl StructuralPartialEq for MorphTargetUpdate
Auto Trait Implementations§
impl Freeze for MorphTargetUpdate
impl RefUnwindSafe for MorphTargetUpdate
impl Send for MorphTargetUpdate
impl Sync for MorphTargetUpdate
impl Unpin for MorphTargetUpdate
impl UnsafeUnpin for MorphTargetUpdate
impl UnwindSafe for MorphTargetUpdate
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