DynamicSoundEffectInstance.IsLooped Property (Microsoft.Xna.Framework.Audio)

Enables or Disables whether the SoundEffectInstance should repeat after playback.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.362)
  • C#
  • VB
  • F#
public bool IsLooped { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Boolean
This value has no effect on an already playing sound.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web