pub struct Joints {
    pub inputs: Vec<Input>,
    pub joint: usize,
    pub extra: Vec<Extra>,
}
Expand description

Declares the association between joint nodes and attribute data.

Fields

inputs: Vec<Input>

The interpretation of the Sources.

joint: usize

The index into inputs for the Semantic::Joint input (which must exist). The Source referenced by this input should contain a ArrayElement::Name that contains sids to identify the joint nodes. sids are used instead of IdRefs to allow a skin controller to be instantiated multiple times, where each instance can be animated independently.

extra: Vec<Extra>

Provides arbitrary additional information about this element.

Implementations

Construct a new Joints from a list of inputs. One of the inputs must have Semantic::Joint.

The input with Semantic::Joint.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.