Type Alias bevy_kira_components::sources::audio_file::AudioFileBundle

source ·
pub type AudioFileBundle = AudioBundle<AudioFile>;
Expand description

Specialization of AudioBundle for the AudioFile asset.

Aliased Type§

struct AudioFileBundle {
    pub source: Handle<AudioFile>,
    pub settings: AudioFileSettings,
    pub output: OutputDestination,
    pub marker: InternalAudioMarker,
}

Fields§

§source: Handle<AudioFile>

Handle to the AudioSource asset to be played.

§settings: AudioFileSettings

Settings related to the sound to play.

§output: OutputDestination

Destination for the audio.

§marker: InternalAudioMarker

This is an internal marker for use in internal systems, and needs to be public to be able to be used properly. You can use it as With<InternalAudioMarker> if you want a way to discriminate entities with audio attached to them.