pub struct WmoSubmesh {
pub material_index: u16,
pub start_index: u32,
pub index_count: u32,
pub texture_filename: Option<String>,
}Expand description
A submesh of a WMO mesh, containing a subset of the triangles with the same material
Fields§
§material_index: u16Material index
start_index: u32Start index in the indices array
index_count: u32Number of indices
texture_filename: Option<String>Texture filename
Trait Implementations§
Source§impl Clone for WmoSubmesh
impl Clone for WmoSubmesh
Source§fn clone(&self) -> WmoSubmesh
fn clone(&self) -> WmoSubmesh
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WmoSubmesh
impl RefUnwindSafe for WmoSubmesh
impl Send for WmoSubmesh
impl Sync for WmoSubmesh
impl Unpin for WmoSubmesh
impl UnwindSafe for WmoSubmesh
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more