Struct servo_media_audio::panner_node::PannerNodeOptions
source · pub struct PannerNodeOptions {Show 14 fields
pub panning_model: PanningModel,
pub distance_model: DistanceModel,
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,
}
Fields§
§panning_model: PanningModel
§distance_model: DistanceModel
§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§
source§impl Clone for PannerNodeOptions
impl Clone for PannerNodeOptions
source§fn clone(&self) -> PannerNodeOptions
fn clone(&self) -> PannerNodeOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PannerNodeOptions
impl Debug for PannerNodeOptions
source§impl Default for PannerNodeOptions
impl Default for PannerNodeOptions
impl Copy for PannerNodeOptions
Auto Trait Implementations§
impl Freeze for PannerNodeOptions
impl RefUnwindSafe for PannerNodeOptions
impl Send for PannerNodeOptions
impl Sync for PannerNodeOptions
impl Unpin for PannerNodeOptions
impl UnwindSafe for PannerNodeOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)