pub struct SubMesh {
pub firstByte: u32,
pub firstVertex: u32,
pub indexCount: u32,
pub localAABB: AABB,
pub vertexCount: u32,
pub baseVertex: Option<u32>,
pub isTriStrip: Option<u32>,
pub topology: Option<i32>,
pub triangleCount: Option<u32>,
}Expand description
SubMesh is a sub class of the Unity engine since version 3.4.0.
Fields§
§firstByte: u32§firstVertex: u32§indexCount: u32§localAABB: AABB§vertexCount: u32§baseVertex: Option<u32>u32: (2017.3.0b1 - 2022.3.2f1)
isTriStrip: Option<u32>u32: (3.4.0 - 3.5.7)
topology: Option<i32>i32: (4.0.0 - 2022.3.2f1)
triangleCount: Option<u32>u32: (3.4.0 - 3.5.7)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubMesh
impl<'de> Deserialize<'de> for SubMesh
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubMesh
impl RefUnwindSafe for SubMesh
impl Send for SubMesh
impl Sync for SubMesh
impl Unpin for SubMesh
impl UnwindSafe for SubMesh
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