Struct web_audio_api::node::PannerOptions
source · [−]pub struct PannerOptions {Show 14 fields
pub panning_model: PanningModelType,
pub distance_model: DistanceModelType,
pub position_x: f32,
pub position_y: f32,
pub position_z: f32,
pub orientation_x: f32,
pub orientation_y: f32,
pub orientation_z: f32,
pub ref_distance: f64,
pub max_distance: f64,
pub rolloff_factor: f64,
pub cone_inner_angle: f64,
pub cone_outer_angle: f64,
pub cone_outer_gain: f64,
}
Expand description
Options for constructing a PannerNode
Fields
panning_model: PanningModelType
distance_model: DistanceModelType
position_x: f32
position_y: f32
position_z: f32
orientation_x: f32
orientation_y: f32
orientation_z: f32
ref_distance: f64
max_distance: f64
rolloff_factor: f64
cone_inner_angle: f64
cone_outer_angle: f64
cone_outer_gain: f64
Trait Implementations
sourceimpl Clone for PannerOptions
impl Clone for PannerOptions
sourcefn clone(&self) -> PannerOptions
fn clone(&self) -> PannerOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PannerOptions
impl Debug for PannerOptions
Auto Trait Implementations
impl RefUnwindSafe for PannerOptions
impl Send for PannerOptions
impl Sync for PannerOptions
impl Unpin for PannerOptions
impl UnwindSafe for PannerOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
impl<F, T> IntoSample<T> for F where
T: FromSample<F>,
fn into_sample(self) -> T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more