Struct gltf::Skin [−][src]
pub struct Skin<'a> { /* fields omitted */ }Expand description
Joints and matrices defining a skin.
Implementations
impl<'a> Skin<'a>[src]
impl<'a> Skin<'a>[src]pub fn inverse_bind_matrices(&self) -> Option<Accessor<'a>>[src]
pub fn inverse_bind_matrices(&self) -> Option<Accessor<'a>>[src]Returns the accessor containing the 4x4 inverse-bind matrices.
When None, each matrix is assumed to be the 4x4 identity matrix which
implies that the inverse-bind matrices were pre-applied.
pub fn reader<'s, F>(&'a self, get_buffer_data: F) -> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]
This is supported on crate feature utils only.
pub fn reader<'s, F>(&'a self, get_buffer_data: F) -> Reader<'a, 's, F> where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>, [src]This is supported on crate feature
utils only.Constructs a skin reader.
pub fn joints(&self) -> Joints<'a>ⓘ[src]
pub fn joints(&self) -> Joints<'a>ⓘ[src]Returns an Iterator that visits the skeleton nodes used as joints in
this skin.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Skin<'a>
impl<'a> Send for Skin<'a>
impl<'a> Sync for Skin<'a>
impl<'a> Unpin for Skin<'a>
impl<'a> UnwindSafe for Skin<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more