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 extensions(&self) -> Option<&Map<String, Value>>
pub fn extensions(&self) -> Option<&Map<String, Value>>
Returns extension data unknown to this crate version.
sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Queries extension data unknown to this crate version.
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>
pub fn reader<'s, F>(&'a self, get_buffer_data: F) -> Reader<'a, 's, F>
Constructs a skin reader.
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§
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