[−][src]Struct gdnative::AudioEffectDistortion
core class AudioEffectDistortion
inherits AudioEffect
(reference counted).
Official documentation
See the documentation of this class in the Godot engine's official documentation.
Memory management
The lifetime of this object is automatically managed through reference counting.
Class hierarchy
AudioEffectDistortion inherits methods from:
Methods
impl AudioEffectDistortion
[src]
Constants
pub const MODE_CLIP: i64
[src]
pub const MODE_ATAN: i64
[src]
pub const MODE_OVERDRIVE: i64
[src]
pub const MODE_LOFI: i64
[src]
pub const MODE_WAVESHAPE: i64
[src]
impl AudioEffectDistortion
[src]
pub fn new() -> AudioEffectDistortion
[src]
pub fn new_ref(&self) -> AudioEffectDistortion
[src]
Creates a new reference to the same reference-counted object.
pub fn get_drive(&self) -> f64
[src]
pub fn get_keep_hf_hz(&self) -> f64
[src]
pub fn get_mode(&self) -> AudioEffectDistortionMode
[src]
pub fn get_post_gain(&self) -> f64
[src]
pub fn get_pre_gain(&self) -> f64
[src]
pub fn set_drive(&mut self, drive: f64)
[src]
pub fn set_keep_hf_hz(&mut self, keep_hf_hz: f64)
[src]
pub fn set_mode(&mut self, mode: i64)
[src]
pub fn set_post_gain(&mut self, post_gain: f64)
[src]
pub fn set_pre_gain(&mut self, pre_gain: f64)
[src]
pub fn to_audio_effect(&self) -> AudioEffect
[src]
Up-cast.
pub fn to_resource(&self) -> Resource
[src]
Up-cast.
pub fn to_reference(&self) -> Reference
[src]
Up-cast.
pub fn to_object(&self) -> Object
[src]
Up-cast.
pub fn cast<T>(&self) -> Option<T> where
T: GodotObject,
[src]
T: GodotObject,
Generic dynamic cast.
Methods from Deref<Target = AudioEffect>
pub fn new_ref(&self) -> AudioEffect
[src]
Creates a new reference to the same reference-counted object.
pub fn to_resource(&self) -> Resource
[src]
Up-cast.
pub fn to_reference(&self) -> Reference
[src]
Up-cast.
pub fn to_object(&self) -> Object
[src]
Up-cast.
pub fn cast<T>(&self) -> Option<T> where
T: GodotObject,
[src]
T: GodotObject,
Generic dynamic cast.
Trait Implementations
impl Clone for AudioEffectDistortion
[src]
fn clone(&self) -> AudioEffectDistortion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AudioEffectDistortion
[src]
impl Deref for AudioEffectDistortion
[src]
type Target = AudioEffect
The resulting type after dereferencing.
fn deref(&self) -> &AudioEffect
[src]
impl DerefMut for AudioEffectDistortion
[src]
fn deref_mut(&mut self) -> &mut AudioEffect
[src]
impl Drop for AudioEffectDistortion
[src]
impl FromVariant for AudioEffectDistortion
[src]
fn from_variant(
variant: &Variant
) -> Result<AudioEffectDistortion, FromVariantError>
[src]
variant: &Variant
) -> Result<AudioEffectDistortion, FromVariantError>
impl GodotObject for AudioEffectDistortion
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut c_void) -> AudioEffectDistortion
[src]
unsafe fn from_return_position_sys(obj: *mut c_void) -> AudioEffectDistortion
[src]
unsafe fn to_sys(&self) -> *mut c_void
[src]
impl Instanciable for AudioEffectDistortion
[src]
fn construct() -> AudioEffectDistortion
[src]
impl ToVariant for AudioEffectDistortion
[src]
fn to_variant(&self) -> Variant
[src]
Auto Trait Implementations
impl RefUnwindSafe for AudioEffectDistortion
impl !Send for AudioEffectDistortion
impl !Sync for AudioEffectDistortion
impl Unpin for AudioEffectDistortion
impl UnwindSafe for AudioEffectDistortion
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Export for T where
T: GodotObject + ToVariant,
[src]
T: GodotObject + ToVariant,
type Hint = ()
A type-specific hint type that is valid for the type being exported.
fn export_info(_hint: Option<<T as Export>::Hint>) -> ExportInfo
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,