[][src]Struct amethyst_audio::AudioListener

pub struct AudioListener {
    pub left_ear: Point3<f32>,
    pub right_ear: Point3<f32>,
}

An audio listener, add this component to the local player character.

Fields

left_ear: Point3<f32>

Position of the left ear relative to the global transform on this entity.

right_ear: Point3<f32>

Position of the right ear relative to the global transform on this entity.

Trait Implementations

impl Default for AudioListener[src]

impl Debug for AudioListener[src]

impl Component for AudioListener[src]

type Storage = HashMapStorage<Self>

Associated storage type for this component.

Auto Trait Implementations

impl Send for AudioListener

impl Sync for AudioListener

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> TryDefault for T where
    T: Default

fn unwrap_default() -> Self

Calls try_default and panics on an error case.

impl<T> Any for T where
    T: Any