pub struct LiquidMesherConfig { /* private fields */ }Expand description
Declarative configuration for 3D Marching Cubes liquid surface reconstruction in LiquidSurfaceMesher.
Implementations§
Source§impl LiquidMesherConfig
Sanitization helpers for LiquidMesherConfig.
impl LiquidMesherConfig
Sanitization helpers for LiquidMesherConfig.
Source§impl LiquidMesherConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
impl LiquidMesherConfig
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_voxel_size(&self) -> f32
pub fn get_mut_voxel_size(&mut self) -> &mut f32
pub fn set_voxel_size(&mut self, val: f32) -> &mut Self
pub fn get_influence_radius(&self) -> f32
pub fn get_mut_influence_radius(&mut self) -> &mut f32
pub fn set_influence_radius(&mut self, val: f32) -> &mut Self
pub fn get_iso_level(&self) -> f32
pub fn get_mut_iso_level(&mut self) -> &mut f32
pub fn set_iso_level(&mut self, val: f32) -> &mut Self
pub fn get_anisotropic(&self) -> bool
pub fn get_mut_anisotropic(&mut self) -> &mut bool
pub fn set_anisotropic(&mut self, val: bool) -> &mut Self
pub fn get_anisotropy_strength(&self) -> f32
pub fn get_mut_anisotropy_strength(&mut self) -> &mut f32
pub fn set_anisotropy_strength(&mut self, val: f32) -> &mut Self
pub fn get_padding_cells(&self) -> usize
pub fn get_mut_padding_cells(&mut self) -> &mut usize
pub fn set_padding_cells(&mut self, val: usize) -> &mut Self
pub fn get_max_grid_dim(&self) -> usize
pub fn get_mut_max_grid_dim(&mut self) -> &mut usize
pub fn set_max_grid_dim(&mut self, val: usize) -> &mut Self
pub fn get_weld_vertices(&self) -> bool
pub fn get_mut_weld_vertices(&mut self) -> &mut bool
pub fn set_weld_vertices(&mut self, val: bool) -> &mut Self
pub fn get_smooth_normals_from_gradient(&self) -> bool
pub fn get_mut_smooth_normals_from_gradient(&mut self) -> &mut bool
pub fn set_smooth_normals_from_gradient(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for LiquidMesherConfig
impl Clone for LiquidMesherConfig
impl Copy for LiquidMesherConfig
Source§impl Debug for LiquidMesherConfig
impl Debug for LiquidMesherConfig
Source§impl Default for LiquidMesherConfig
Default 3D metaball + Marching Cubes surface reconstruction configuration.
impl Default for LiquidMesherConfig
Default 3D metaball + Marching Cubes surface reconstruction configuration.
Source§impl PartialEq for LiquidMesherConfig
impl PartialEq for LiquidMesherConfig
impl StructuralPartialEq for LiquidMesherConfig
Auto Trait Implementations§
impl Forget for LiquidMesherConfig
impl Freeze for LiquidMesherConfig
impl Move for LiquidMesherConfig
impl RefUnwindSafe for LiquidMesherConfig
impl Send for LiquidMesherConfig
impl Sync for LiquidMesherConfig
impl Unpin for LiquidMesherConfig
impl UnsafeUnpin for LiquidMesherConfig
impl UnwindSafe for LiquidMesherConfig
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