Struct gltf_json::skin::Skin []

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 Clone for Skin

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Skin

Formats the value using the given formatter.

impl Validate for Skin

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

Validates the data against the glTF 2.0 specification.