Struct web_audio_api::spatial::AudioListener [−][src]
Represents the position and orientation of the person listening to the audio scene
All PannerNode objects spatialize in relation to the crate::context::BaseAudioContext
’s listener.
Implementations
impl<'a> AudioListener<'a>
[src]
pub fn position_x(&self) -> &AudioParam<'_>
[src]
pub fn position_y(&self) -> &AudioParam<'_>
[src]
pub fn position_z(&self) -> &AudioParam<'_>
[src]
pub fn forward_x(&self) -> &AudioParam<'_>
[src]
pub fn forward_y(&self) -> &AudioParam<'_>
[src]
pub fn forward_z(&self) -> &AudioParam<'_>
[src]
pub fn up_x(&self) -> &AudioParam<'_>
[src]
pub fn up_y(&self) -> &AudioParam<'_>
[src]
pub fn up_z(&self) -> &AudioParam<'_>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AudioListener<'a>
impl<'a> !Send for AudioListener<'a>
impl<'a> !Sync for AudioListener<'a>
impl<'a> Unpin for AudioListener<'a>
impl<'a> !UnwindSafe for AudioListener<'a>
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,
pub fn borrow_mut(&mut self) -> &mut T
[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, 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.
pub 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>,