Struct collada::BindData

source ·
pub struct BindData {
    pub object_name: String,
    pub skeleton_name: String,
    pub joint_names: Vec<String>,
    pub vertex_weights: Vec<VertexWeight>,
    pub weights: Vec<f32>,
    pub inverse_bind_poses: Vec<Matrix4<f32>>,
}

Fields

object_name: Stringskeleton_name: Stringjoint_names: Vec<String>vertex_weights: Vec<VertexWeight>

Vertex weights, for vertex by index in mesh and joint by index in ‘joint_names’ and weight by index in ‘weights’

weights: Vec<f32>

Weight values that are indexed by VertexWeights

inverse_bind_poses: Vec<Matrix4<f32>>

Inverse bind pose matrices listed in order of joint_names Column-major

Trait Implementations

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 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.