pub struct AudioEchoFilter {
pub m_DecayRatio: f32,
pub m_Delay: Enum_u32__f32,
pub m_DryMix: f32,
pub m_Enabled: u8,
pub m_GameObject: PPtr,
pub m_WetMix: f32,
}Expand description
AudioEchoFilter is a class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: The Audio Echo Filter repeats a sound after a given Delay, attenuating the repetitions based on the Decay Ratio. See Also: Audio Echo Filter information.
Fields§
§m_DecayRatio: f32Echo decay per delay. 0 to 1. 1.0 = No decay, 0.0 = total decay (i.e. simple 1 line delay). Default = 0.5.
m_Delay: Enum_u32__f32Echo delay in ms. 10 to 5000. Default = 500.
m_DryMix: f32Volume of original signal to pass to output. 0.0 to 1.0. Default = 1.0.
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_WetMix: f32Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.
Trait Implementations§
Source§impl Debug for AudioEchoFilter
impl Debug for AudioEchoFilter
Source§impl<'de> Deserialize<'de> for AudioEchoFilter
impl<'de> Deserialize<'de> for AudioEchoFilter
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 AudioEchoFilter
impl RefUnwindSafe for AudioEchoFilter
impl Send for AudioEchoFilter
impl Sync for AudioEchoFilter
impl Unpin for AudioEchoFilter
impl UnwindSafe for AudioEchoFilter
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