pub struct AudioLowPassFilter {
pub lowpassLevelCustomCurve: AnimationCurve,
pub m_Enabled: u8,
pub m_GameObject: PPtr,
pub m_LowpassResonanceQ: f32,
pub m_CutoffFrequency: Option<f32>,
}Expand description
AudioLowPassFilter is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: The Audio Low Pass Filter passes low frequencies of an AudioSource or all sounds reaching an AudioListener, while removing frequencies higher than the Cutoff Frequency. See Also: Audio Low Pass Filter information.
Fields§
§lowpassLevelCustomCurve: AnimationCurve§m_Enabled: u8Enabled Behaviours are Updated, disabled Behaviours are not.
m_GameObject: PPtrThe game object this component is attached to. A component is always attached to a game object.
PPtr<GameObject>: (3.4.0 - 2022.3.2f1)
m_LowpassResonanceQ: f32Determines how much the filter’s self-resonance is dampened.
m_CutoffFrequency: Option<f32>Lowpass cutoff frequency in hz. 10.0 to 22000.0. Default = 5000.0. f32: (3.4.0 - 5.1.5f1)
Trait Implementations§
Source§impl Debug for AudioLowPassFilter
impl Debug for AudioLowPassFilter
Source§impl<'de> Deserialize<'de> for AudioLowPassFilter
impl<'de> Deserialize<'de> for AudioLowPassFilter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AudioLowPassFilter
impl RefUnwindSafe for AudioLowPassFilter
impl Send for AudioLowPassFilter
impl Sync for AudioLowPassFilter
impl Unpin for AudioLowPassFilter
impl UnwindSafe for AudioLowPassFilter
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