pub struct AudioCommand { /* private fields */ }Expand description
Individual spatialized audio playback command queued by game scenes.
Implementations§
Source§impl AudioCommand
impl AudioCommand
pub fn get_cue(&self) -> SoundCue
pub fn get_mut_cue(&mut self) -> &mut SoundCue
pub fn set_cue(&mut self, val: SoundCue) -> &mut Self
pub fn get_volume(&self) -> f32
pub fn get_mut_volume(&mut self) -> &mut f32
pub fn set_volume(&mut self, val: f32) -> &mut Self
pub fn get_pan(&self) -> f32
pub fn get_mut_pan(&mut self) -> &mut f32
pub fn set_pan(&mut self, val: f32) -> &mut Self
pub fn get_pitch(&self) -> f32
pub fn get_mut_pitch(&mut self) -> &mut f32
pub fn set_pitch(&mut self, val: f32) -> &mut Self
Trait Implementations§
Source§impl Clone for AudioCommand
impl Clone for AudioCommand
impl Copy for AudioCommand
Source§impl Debug for AudioCommand
impl Debug for AudioCommand
Source§impl PartialEq for AudioCommand
impl PartialEq for AudioCommand
impl StructuralPartialEq for AudioCommand
Auto Trait Implementations§
impl Forget for AudioCommand
impl Freeze for AudioCommand
impl Move for AudioCommand
impl RefUnwindSafe for AudioCommand
impl Send for AudioCommand
impl Sync for AudioCommand
impl Unpin for AudioCommand
impl UnsafeUnpin for AudioCommand
impl UnwindSafe for AudioCommand
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