pub struct MeshComplexityAnalysis {
pub vertex_count: usize,
pub triangle_count: usize,
pub average_triangle_area: f32,
pub min_triangle_area: f32,
pub max_triangle_area: f32,
pub small_triangle_ratio: f32,
pub triangle_density: f32,
pub recommended_reduction: f32,
}Expand description
Analysis of mesh complexity for recommending simplification parameters
Fields§
§vertex_count: usize§triangle_count: usize§average_triangle_area: f32§min_triangle_area: f32§max_triangle_area: f32§small_triangle_ratio: f32§triangle_density: f32§recommended_reduction: f32Trait Implementations§
Source§impl Debug for MeshComplexityAnalysis
impl Debug for MeshComplexityAnalysis
Source§impl Default for MeshComplexityAnalysis
impl Default for MeshComplexityAnalysis
Source§fn default() -> MeshComplexityAnalysis
fn default() -> MeshComplexityAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MeshComplexityAnalysis
impl RefUnwindSafe for MeshComplexityAnalysis
impl Send for MeshComplexityAnalysis
impl Sync for MeshComplexityAnalysis
impl Unpin for MeshComplexityAnalysis
impl UnsafeUnpin for MeshComplexityAnalysis
impl UnwindSafe for MeshComplexityAnalysis
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