Struct rfmod::ReverbProperties
[−]
[src]
pub struct ReverbProperties { pub instance: i32, pub environment: i32, pub env_diffusion: f32, pub room: i32, pub room_HF: i32, pub room_LF: i32, pub decay_time: f32, pub decay_HF_ratio: f32, pub decay_LF_ratio: f32, pub reflections: i32, pub reflections_delay: f32, pub reverb: i32, pub reverb_delay: f32, pub modulation_time: f32, pub modulation_depth: f32, pub HF_reference: f32, pub LF_reference: f32, pub diffusion: f32, pub density: f32, pub flags: u32, }
Structure defining a reverb environment.
Fields
instance: i32
[w] Min: 0 - Max: 3 - Default: 0 - Environment Instance. (SUPPORTED:SFX(4 instances) and Wii (3 instances))
environment: i32
[r/w] Min: -1 - Max: 25 - Default: -1 - Sets all listener properties. -1 = OFF. (SUPPORTED:SFX(-1 only)/PSP)
env_diffusion: f32
[r/w] Min: 0.0 - Max: 1.0 - Default: 1.0 - Environment diffusion (SUPPORTED:WII)
room: i32
[r/w] Min: -10000 - Max: 0 - Default: -1000 - Room effect level (at mid frequencies) (SUPPORTED:SFX/WII/PSP)
room_HF: i32
[r/w] Min: -10000 - Max: 0 - Default: -100 - Relative room effect level at high frequencies (SUPPORTED:SFX)
room_LF: i32
[r/w] Min: -10000 - Max: 0 Default: 0 - Relative room effect level at low frequencies (SUPPORTED:SFX)
decay_time: f32
[r/w] Min: 0.1 - Max: 20.0 - Default: 1.49 - Reverberation decay time at mid frequencies (SUPPORTED:SFX/WII)
decay_HF_ratio: f32
[r/w] Min: 0.1 - Max: 2.0 - Default: 0.83 - High-frequency to mid-frequency decay time ratio (SUPPORTED:SFX)
decay_LF_ratio: f32
[r/w] Min: 0.1 - Max: 2.0 - Default: 1.0 - Low-frequency to mid-frequency decay time ratio (SUPPORTED:---)
reflections: i32
[r/w] Min: -10000 - Max: 1000 - Default: -2602 - Early reflections level relative to room effect (SUPPORTED:SFX/WII)
reflections_delay: f32
[r/w] Min: 0.0 - Max: 0.3 - Default: 0.007 - Initial reflection delay time (SUPPORTED:SFX)
reverb: i32
[r/w] Min: -10000 - Max: 2000 - Default: 200 - Late reverberation level relative to room effect (SUPPORTED:SFX)
reverb_delay: f32
[r/w] Min: 0.0 - Max: 0.1 - Default: 0.011 - Late reverberation delay time relative to initial reflection (SUPPORTED:SFX/WII)
modulation_time: f32
[r/w] Min: 0.04 - Max: 4.0 - Default: 0.25 - Modulation time (SUPPORTED:---)
modulation_depth: f32
[r/w] Min: 0.0 - Max: 1.0 - Default: 0.0 - Modulation depth (SUPPORTED:WII)
HF_reference: f32
[r/w] Min: 20.0 - Max: 20000.0 - Default: 5000.0 - Reference high frequency (hz) (SUPPORTED:SFX)
LF_reference: f32
[r/w] Min: 20.0 - Max: 1000.0 - Default: 250.0 - Reference low frequency (hz) (SUPPORTED:SFX)
diffusion: f32
[r/w] Min: 0.0 - Max: 100.0 - Default: 100.0 - Value that controls the echo density in the late reverberation decay. (SUPPORTED:SFX)
density: f32
[r/w] Min: 0.0 - Max: 100.0 - Default: 100.0 - Value that controls the modal density in the late reverberation decay (SUPPORTED:SFX)
flags: u32
[r/w] FMOD_REVERB_FLAGS - modifies the behavior of above properties (SUPPORTED:WII)
Trait Implementations
impl Clone for ReverbProperties
[src]
fn clone(&self) -> ReverbProperties
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ReverbProperties
[src]
impl Default for ReverbProperties
[src]
fn default() -> ReverbProperties
[src]
Returns the "default value" for a type. Read more