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>>
Available on crate feature extensions only.
pub fn extensions(&self) -> Option<&Map<String, Value>>
extensions only.Returns extension data unknown to this crate version.
Sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Available on crate feature extensions only.
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
extensions only.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>
Available on crate feature utils only.
pub fn reader<'s, F>(&'a self, get_buffer_data: F) -> Reader<'a, 's, F>
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.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Skin<'a>
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