pub struct AudioView {
pub source_count: usize,
pub listener_position: Option<Vec3>,
pub listener_transform: Option<AffineTransform>,
pub sources: Vec<AudioSourceSnapshot>,
}Expand description
Fields§
§source_count: usizeNumber of AudioSource components in the world (kept for
backwards-compat telemetry).
listener_position: Option<Vec3>World-space translation of the first AudioListener, if any.
listener_transform: Option<AffineTransform>Full affine transform of the first listener (used for spatial pan / volume math by the mixing lane).
sources: Vec<AudioSourceSnapshot>Per-source snapshots consumed by the mixing lane.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AudioView
impl RefUnwindSafe for AudioView
impl Send for AudioView
impl Sync for AudioView
impl Unpin for AudioView
impl UnsafeUnpin for AudioView
impl UnwindSafe for AudioView
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