pub struct Skin<'a> { /* private fields */ }Expand description
Joints and matrices defining a skin.
Implementations§
source§impl<'a> Skin<'a>
impl<'a> Skin<'a>
sourcepub fn inverse_bind_matrices(&self) -> Option<Accessor<'a>>
pub fn inverse_bind_matrices(&self) -> Option<Accessor<'a>>
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.
sourcepub fn reader<'s, F>(&'a self, get_buffer_data: F) -> Reader<'a, 's, F>where
F: Clone + Fn(Buffer<'a>) -> Option<&'s [u8]>,
Available 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]>,
utils only.Constructs a skin reader.
sourcepub fn joints(&self) -> Joints<'a> ⓘ
pub fn joints(&self) -> Joints<'a> ⓘ
Returns an Iterator that visits the skeleton nodes used as joints in
this skin.