pub struct SubmeshData {
pub indices: Vec<u32>,
}Expand description
A single sub-mesh triangle list in Unity’s left-handed coordinate system.
Indices are stored as u32 regardless of the source format; the build step
selects the output component type based on the parent mesh’s total vertex count.
Fields§
§indices: Vec<u32>Triangle indices in Unity’s left-handed winding order. Winding is reversed to right-handed during the build step.
Auto Trait Implementations§
impl Freeze for SubmeshData
impl RefUnwindSafe for SubmeshData
impl Send for SubmeshData
impl Sync for SubmeshData
impl Unpin for SubmeshData
impl UnsafeUnpin for SubmeshData
impl UnwindSafe for SubmeshData
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