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.
Trait Implementations
impl Clone for MeshObjectData
[src]
impl Clone for MeshObjectData
[src]fn clone(&self) -> MeshObjectData
[src]
fn clone(&self) -> MeshObjectData
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more