pub struct AcousticFacet {
pub impedance_rayls: f64,
pub absorption_coeff: f64,
}Expand description
Acoustic response facet — the sound reading of the same EMF spectrum
axis that OpticalFacet reads as colour.
Not a second spectrum, not a second material, and not a spatial axis. Stress changes this reading together with the optical reading; it does not swap a baked texture or write spatial coordinates.
Fields§
§impedance_rayls: f64Characteristic acoustic impedance (Pa·s/m or Rayls).
absorption_coeff: f64Acoustic absorption coefficient in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for AcousticFacet
impl Clone for AcousticFacet
Source§impl Debug for AcousticFacet
impl Debug for AcousticFacet
Source§impl PartialEq for AcousticFacet
impl PartialEq for AcousticFacet
impl StructuralPartialEq for AcousticFacet
Auto Trait Implementations§
impl Freeze for AcousticFacet
impl RefUnwindSafe for AcousticFacet
impl Send for AcousticFacet
impl Sync for AcousticFacet
impl Unpin for AcousticFacet
impl UnsafeUnpin for AcousticFacet
impl UnwindSafe for AcousticFacet
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