pub struct GyroLiquidConfig { /* private fields */ }Expand description
Declarative physical configuration for LiquidFluidSolver and GyroLiquidGameScene.
Implementations§
Source§impl GyroLiquidConfig
impl GyroLiquidConfig
pub fn get_vessel_width_m(&self) -> f32
pub fn get_mut_vessel_width_m(&mut self) -> &mut f32
pub fn set_vessel_width_m(&mut self, val: f32) -> &mut Self
pub fn get_vessel_height_m(&self) -> f32
pub fn get_mut_vessel_height_m(&mut self) -> &mut f32
pub fn set_vessel_height_m(&mut self, val: f32) -> &mut Self
pub fn get_fill_ratio(&self) -> f32
pub fn get_mut_fill_ratio(&mut self) -> &mut f32
pub fn set_fill_ratio(&mut self, val: f32) -> &mut Self
pub fn get_viscosity_scale(&self) -> f32
pub fn get_mut_viscosity_scale(&mut self) -> &mut f32
pub fn set_viscosity_scale(&mut self, val: f32) -> &mut Self
pub fn get_surface_tension_scale(&self) -> f32
pub fn get_mut_surface_tension_scale(&mut self) -> &mut f32
pub fn set_surface_tension_scale(&mut self, val: f32) -> &mut Self
pub fn get_buoyant_bodies_enabled(&self) -> bool
pub fn get_mut_buoyant_bodies_enabled(&mut self) -> &mut bool
pub fn set_buoyant_bodies_enabled(&mut self, val: bool) -> &mut Self
pub fn get_substeps(&self) -> u32
pub fn get_mut_substeps(&mut self) -> &mut u32
pub fn set_substeps(&mut self, val: u32) -> &mut Self
pub fn get_solver_iterations(&self) -> u32
pub fn get_mut_solver_iterations(&mut self) -> &mut u32
pub fn set_solver_iterations(&mut self, val: u32) -> &mut Self
pub fn get_base_particle_count(&self) -> usize
pub fn get_mut_base_particle_count(&mut self) -> &mut usize
pub fn set_base_particle_count(&mut self, val: usize) -> &mut Self
Trait Implementations§
Source§impl Clone for GyroLiquidConfig
impl Clone for GyroLiquidConfig
impl Copy for GyroLiquidConfig
Source§impl Debug for GyroLiquidConfig
impl Debug for GyroLiquidConfig
Source§impl Default for GyroLiquidConfig
Default handheld physical glass vessel liquid configuration.
impl Default for GyroLiquidConfig
Default handheld physical glass vessel liquid configuration.
Source§impl PartialEq for GyroLiquidConfig
impl PartialEq for GyroLiquidConfig
impl StructuralPartialEq for GyroLiquidConfig
Auto Trait Implementations§
impl Forget for GyroLiquidConfig
impl Freeze for GyroLiquidConfig
impl Move for GyroLiquidConfig
impl RefUnwindSafe for GyroLiquidConfig
impl Send for GyroLiquidConfig
impl Sync for GyroLiquidConfig
impl Unpin for GyroLiquidConfig
impl UnsafeUnpin for GyroLiquidConfig
impl UnwindSafe for GyroLiquidConfig
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