Struct dbsdk_rs::sounddriver::SoundEmitter
source · [−]pub struct SoundEmitter {Show 13 fields
pub is_valid: bool,
pub priority: u8,
pub looping: bool,
pub reverb: bool,
pub is_3d: bool,
pub atten_type: AttenuationType,
pub atten_min_dist: f32,
pub atten_max_dist: f32,
pub atten_rolloff: f32,
pub position: Vector3,
pub volume: f32,
pub pitch: f32,
pub pan: f32,
/* private fields */
}
Fields
is_valid: bool
priority: u8
looping: bool
reverb: bool
is_3d: bool
atten_type: AttenuationType
atten_min_dist: f32
atten_max_dist: f32
atten_rolloff: f32
position: Vector3
volume: f32
pitch: f32
pan: f32
Auto Trait Implementations
impl RefUnwindSafe for SoundEmitter
impl Send for SoundEmitter
impl Sync for SoundEmitter
impl Unpin for SoundEmitter
impl UnwindSafe for SoundEmitter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more