Struct gltf::skin::Skin
[−]
[src]
pub struct Skin<'a> { /* fields omitted */ }Joints and matrices defining a skin.
Methods
impl<'a> Skin<'a>[src]
fn index(&self) -> usize[src]
Returns the internal JSON index.
fn extras(&self) -> &Extras[src]
Optional application specific data.
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.
fn joints(&self) -> Joints<'a>[src]
Returns an Iterator that visits the skeleton nodes used as joints in
this skin.
fn skeleton(&self) -> Option<Node<'a>>[src]
Returns the node used as the skeleton root. When None, joints
transforms resolve to scene root.
Trait Implementations
impl<'a> Clone for Skin<'a>[src]
fn clone(&self) -> Skin<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more