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: String
sub_index: u64
parent_bone_name: String
vertex_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
Auto Trait Implementations
impl RefUnwindSafe for MeshObjectData
impl Send for MeshObjectData
impl Sync for MeshObjectData
impl Unpin for MeshObjectData
impl UnwindSafe for MeshObjectData
Blanket Implementations
Mutably borrows from an owned value. Read more