pub struct GyroLiquidStats { /* private fields */ }Expand description
Read-only live physics, optical rendering, and sensor telemetry emitted by GyroLiquidGameScene.
Implementations§
Source§impl GyroLiquidStats
impl GyroLiquidStats
pub fn get_particle_count(&self) -> usize
pub fn get_mut_particle_count(&mut self) -> &mut usize
pub fn set_particle_count(&mut self, val: usize) -> &mut Self
pub fn get_bubble_count(&self) -> usize
pub fn get_mut_bubble_count(&mut self) -> &mut usize
pub fn set_bubble_count(&mut self, val: usize) -> &mut Self
pub fn get_buoyant_body_count(&self) -> usize
pub fn get_mut_buoyant_body_count(&mut self) -> &mut usize
pub fn set_buoyant_body_count(&mut self, val: usize) -> &mut Self
pub fn get_kinetic_energy_mj(&self) -> f32
pub fn get_mut_kinetic_energy_mj(&mut self) -> &mut f32
pub fn set_kinetic_energy_mj(&mut self, val: f32) -> &mut Self
pub fn get_gravity_x(&self) -> f32
pub fn get_mut_gravity_x(&mut self) -> &mut f32
pub fn set_gravity_x(&mut self, val: f32) -> &mut Self
pub fn get_gravity_y(&self) -> f32
pub fn get_mut_gravity_y(&mut self) -> &mut f32
pub fn set_gravity_y(&mut self, val: f32) -> &mut Self
pub fn get_gravity_z(&self) -> f32
pub fn get_mut_gravity_z(&mut self) -> &mut f32
pub fn set_gravity_z(&mut self, val: f32) -> &mut Self
pub fn get_tilt_angle_deg(&self) -> f32
pub fn get_mut_tilt_angle_deg(&mut self) -> &mut f32
pub fn set_tilt_angle_deg(&mut self, val: f32) -> &mut Self
pub fn get_peak_wave_height_m(&self) -> f32
pub fn get_mut_peak_wave_height_m(&mut self) -> &mut f32
pub fn set_peak_wave_height_m(&mut self, val: f32) -> &mut Self
pub fn get_sim_time_ms(&self) -> f32
pub fn get_mut_sim_time_ms(&mut self) -> &mut f32
pub fn set_sim_time_ms(&mut self, val: f32) -> &mut Self
pub fn get_render_time_ms(&self) -> f32
pub fn get_mut_render_time_ms(&mut self) -> &mut f32
pub fn set_render_time_ms(&mut self, val: f32) -> &mut Self
pub fn get_sensor_mode(&self) -> FluidSensorMode
pub fn get_mut_sensor_mode(&mut self) -> &mut FluidSensorMode
pub fn set_sensor_mode(&mut self, val: FluidSensorMode) -> &mut Self
pub fn get_sensor_active(&self) -> bool
pub fn get_mut_sensor_active(&mut self) -> &mut bool
pub fn set_sensor_active(&mut self, val: bool) -> &mut Self
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_render_width(&self) -> u32
pub fn get_mut_render_width(&mut self) -> &mut u32
pub fn set_render_width(&mut self, val: u32) -> &mut Self
pub fn get_render_height(&self) -> u32
pub fn get_mut_render_height(&mut self) -> &mut u32
pub fn set_render_height(&mut self, val: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for GyroLiquidStats
impl Clone for GyroLiquidStats
impl Copy for GyroLiquidStats
Source§impl Debug for GyroLiquidStats
impl Debug for GyroLiquidStats
Source§impl Default for GyroLiquidStats
impl Default for GyroLiquidStats
Source§impl PartialEq for GyroLiquidStats
impl PartialEq for GyroLiquidStats
impl StructuralPartialEq for GyroLiquidStats
Auto Trait Implementations§
impl Forget for GyroLiquidStats
impl Freeze for GyroLiquidStats
impl Move for GyroLiquidStats
impl RefUnwindSafe for GyroLiquidStats
impl Send for GyroLiquidStats
impl Sync for GyroLiquidStats
impl Unpin for GyroLiquidStats
impl UnsafeUnpin for GyroLiquidStats
impl UnwindSafe for GyroLiquidStats
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