Struct ssbh_data::mesh_data::MeshObjectData[][src]

pub struct MeshObjectData {
    pub name: String,
    pub sub_index: u64,
    pub parent_bone_name: String,
    pub vertex_indices: Vec<u32>,
    pub positions: Vec<AttributeData>,
    pub normals: Vec<AttributeData>,
    pub binormals: Vec<AttributeData>,
    pub tangents: Vec<AttributeData>,
    pub texture_coordinates: Vec<AttributeData>,
    pub color_sets: Vec<AttributeData>,
    pub bone_influences: Vec<BoneInfluence>,
}

Fields

name: Stringsub_index: u64parent_bone_name: Stringvertex_indices: Vec<u32>positions: Vec<AttributeData>normals: Vec<AttributeData>binormals: Vec<AttributeData>tangents: Vec<AttributeData>texture_coordinates: Vec<AttributeData>color_sets: Vec<AttributeData>bone_influences: Vec<BoneInfluence>

Vertex weights grouped by bone name. Each vertex will likely be influenced by at most 4 bones, but the format doesn’t enforce this. For single bound objects, bone_influences should be an empty list.

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

Performs the conversion.

Performs the conversion.

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)

recently added

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.