Struct amethyst_audio::AudioListener [−][src]
pub struct AudioListener {
pub output: Output,
pub left_ear: Point3<f32>,
pub right_ear: Point3<f32>,
}An audio listener, add this component to the local player character.
Fields
output: Output
Output used by this listener to emit sounds to
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 Debug for AudioListener[src]
impl Debug for AudioListenerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Component for AudioListener[src]
impl Component for AudioListenertype Storage = HashMapStorage<Self>
Associated storage type for this component.
Auto Trait Implementations
impl Send for AudioListener
impl Send for AudioListenerimpl Sync for AudioListener
impl Sync for AudioListener