pub struct SoundEmitter { /* private fields */ }Expand description
Sound emitter attached to the model hierarchy (deprecated)
Sound emitters are positioned nodes that can emit sounds at specific animation frames via KSEK tracks. While readers exist in the internal game code, no known shipped model contains SNEM data.
Implementations§
Source§impl SoundEmitter
impl SoundEmitter
Sourcepub fn node(&self) -> Ref<'_, Node>
pub fn node(&self) -> Ref<'_, Node>
Base node data with transform Borrows the field in place — no copy, no allocation.
pub fn node_mut(&mut self) -> RefMut<'_, Node>
Sourcepub fn sound_track(&self) -> Ref<'_, TrackU32>
pub fn sound_track(&self) -> Ref<'_, TrackU32>
KSEK - sound event track (u32 values) Borrows the field in place — no copy, no allocation.
pub fn sound_track_mut(&mut self) -> RefMut<'_, TrackU32>
Trait Implementations§
Source§impl Debug for SoundEmitter
impl Debug for SoundEmitter
Source§impl Default for SoundEmitter
impl Default for SoundEmitter
Source§impl Drop for SoundEmitter
impl Drop for SoundEmitter
impl Send for SoundEmitter
Auto Trait Implementations§
impl !Sync for SoundEmitter
impl Freeze for SoundEmitter
impl RefUnwindSafe for SoundEmitter
impl Unpin for SoundEmitter
impl UnsafeUnpin for SoundEmitter
impl UnwindSafe for SoundEmitter
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