pub struct ListenerAcoustics {
pub mean_free_path: f32,
pub openness: f32,
pub reverb_feedback: f32,
pub reverb_damping: f32,
pub reverb_mix: f32,
}Expand description
Smoothed reverb parameters for the listener’s surroundings,
produced by CavityEstimator::update. Feed the reverb fields to
the backend with long tweens (~1 s).
Fields§
§mean_free_path: f32Smoothed mean free path (room size), world/voxel units.
openness: f32Smoothed openness, 0..=1.
reverb_feedback: f32Reverb feedback (decay): bigger enclosed space ⇒ longer tail.
reverb_damping: f32Reverb damping — AU2.1: the smoothed per-material wall damping
(see CavityConfig::damping_override); exactly
CavityConfig::damping when no override table is set.
reverb_mix: f32Reverb wet mix, 0..=1: scaled down by openness so outdoor
sound stays dry.
Trait Implementations§
Source§impl Clone for ListenerAcoustics
impl Clone for ListenerAcoustics
impl Copy for ListenerAcoustics
Source§impl Debug for ListenerAcoustics
impl Debug for ListenerAcoustics
Source§impl PartialEq for ListenerAcoustics
impl PartialEq for ListenerAcoustics
impl StructuralPartialEq for ListenerAcoustics
Auto Trait Implementations§
impl Freeze for ListenerAcoustics
impl RefUnwindSafe for ListenerAcoustics
impl Send for ListenerAcoustics
impl Sync for ListenerAcoustics
impl Unpin for ListenerAcoustics
impl UnsafeUnpin for ListenerAcoustics
impl UnwindSafe for ListenerAcoustics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more