pub struct AudioPresets;Expand description
Quick-access library of common audio source presets.
Implementations§
Source§impl AudioPresets
impl AudioPresets
Sourcepub fn cave_drip(position: Vec3) -> MathAudioSource
pub fn cave_drip(position: Vec3) -> MathAudioSource
Ambient cave drip at a position.
Sourcepub fn explosion(position: Vec3, scale: f32) -> MathAudioSource
pub fn explosion(position: Vec3, scale: f32) -> MathAudioSource
Explosion impact — loud, brief, with sub-bass punch.
Sourcepub fn magic_sparkle(position: Vec3) -> MathAudioSource
pub fn magic_sparkle(position: Vec3) -> MathAudioSource
Magical sparkle — high-frequency sinusoidal shimmer.
Auto Trait Implementations§
impl Freeze for AudioPresets
impl RefUnwindSafe for AudioPresets
impl Send for AudioPresets
impl Sync for AudioPresets
impl Unpin for AudioPresets
impl UnsafeUnpin for AudioPresets
impl UnwindSafe for AudioPresets
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