PlaybackSettings

PlaybackSettings

  • mode : bevy_audio::audio::PlaybackMode
  • volume : bevy_audio::audio::Volume
  • speed : f32
  • paused : bool
  • spatial : bool
  • spatial_scale : core::option::Option<bevy_audio::audio::SpatialScale>

Description

Initial settings to be used when audio starts playing.

If you would like to control the audio while it is playing, query for the [AudioSink][crate::AudioSink] or [SpatialAudioSink][crate::SpatialAudioSink] components. Changes to this component will not be applied to already-playing audio.

Functions