Struct gltf_json::Skin[][src]

pub struct Skin {
    pub extensions: Skin,
    pub extras: Extras,
    pub inverse_bind_matrices: Option<Index<Accessor>>,
    pub joints: Vec<Index<Node>>,
    pub skeleton: Option<Index<Node>>,
}

Joints and matrices defining a skin.

Fields

Extension specific data.

Optional application specific data.

The index of 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.

Indices of skeleton nodes used as joints in this skin.

The array length must be the same as the count property of the inverse_bind_matrices Accessor (when defined).

The index of the node used as a skeleton root.

When None, joints transforms resolve to scene root.

Trait Implementations

impl<'a> Get<Skin> for Root
[src]

Retrieves a single value at the given index.

impl Clone for Skin
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Skin
[src]

Formats the value using the given formatter. Read more

impl Validate for Skin
[src]

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification. Read more

Auto Trait Implementations

impl Send for Skin

impl Sync for Skin