pub struct ModelPart { /* private fields */ }Expand description
Decoded rigid part record.
Implementations§
Source§impl ModelPart
impl ModelPart
Sourcepub fn joint_index(&self) -> u16
pub fn joint_index(&self) -> u16
Joint whose animation pose applies to this part.
Sourcepub fn first_vertex(&self) -> u16
pub fn first_vertex(&self) -> u16
First global vertex owned by this part.
Sourcepub fn vertex_count(&self) -> u16
pub fn vertex_count(&self) -> u16
Number of vertices owned by this part.
Sourcepub fn first_face(&self) -> u16
pub fn first_face(&self) -> u16
First global triangle owned by this part.
Sourcepub fn face_count(&self) -> u16
pub fn face_count(&self) -> u16
Number of triangles owned by this part.
Sourcepub fn material_index(&self) -> u16
pub fn material_index(&self) -> u16
Material slot used by this part.
Trait Implementations§
impl Copy for ModelPart
impl Eq for ModelPart
impl StructuralPartialEq for ModelPart
Auto Trait Implementations§
impl Freeze for ModelPart
impl RefUnwindSafe for ModelPart
impl Send for ModelPart
impl Sync for ModelPart
impl Unpin for ModelPart
impl UnsafeUnpin for ModelPart
impl UnwindSafe for ModelPart
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)