[−][src]Struct soloud::audio::Noise
Implementations
impl Noise
[src]
pub fn set_type(&mut self, typ: NoiseType)
[src]
Set noise type
pub fn set_octave_scale(
&mut self,
oct_0: f32,
oct_1: f32,
oct_2: f32,
oct_3: f32,
oct_4: f32,
oct_5: f32,
oct_6: f32,
oct_7: f32,
oct_8: f32,
oct_9: f32
)
[src]
&mut self,
oct_0: f32,
oct_1: f32,
oct_2: f32,
oct_3: f32,
oct_4: f32,
oct_5: f32,
oct_6: f32,
oct_7: f32,
oct_8: f32,
oct_9: f32
)
Set the octave scale
Trait Implementations
impl AudioExt for Noise
[src]
pub fn default() -> Self
[src]
pub fn set_volume(&mut self, volume: f32)
[src]
pub fn set_looping(&mut self, flag: bool)
[src]
pub fn set_auto_stop(&mut self, flag: bool)
[src]
pub fn set_3d_min_max_distance(&mut self, min_distance: f32, max_distance: f32)
[src]
pub fn set_3d_attenuation(
&mut self,
model: AttenuationModel,
rolloff_factor: f32
)
[src]
&mut self,
model: AttenuationModel,
rolloff_factor: f32
)
pub fn set_3d_doppler_factor(&mut self, doppler_factor: f32)
[src]
pub fn set_3d_listener_relative(&mut self, flag: bool)
[src]
pub fn set_3d_distance_delay(&mut self, distance_delay: i32)
[src]
pub fn set_inaudible_behavior(&mut self, must_tick: bool, kill: bool)
[src]
pub fn set_loop_point(&mut self, loop_point: f64)
[src]
pub fn loop_point(&self) -> f64
[src]
pub fn set_filter<F: FilterExt>(&mut self, filter_id: u32, filter: Option<&F>)
[src]
pub fn stop(&mut self)
[src]
pub unsafe fn inner(&self) -> *mut *mut c_void
[src]
impl Drop for Noise
[src]
Auto Trait Implementations
impl RefUnwindSafe for Noise
impl !Send for Noise
impl !Sync for Noise
impl Unpin for Noise
impl UnwindSafe for Noise
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,