Music Loop Property Delta Engine Documentation

Namespace: DeltaEngine.Multimedia
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public bool Loop { protected get; set; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Multimedia.Tests.MusicTests
Examples

1 unit tests call DeltaEngine.Multimedia.Music.Loop
[Test]
public void PlayMusicNonLooped()
{
    var music = ContentLoader.Load<Music>("DefaultMusic");
    music.Loop = false;
    music.Play();
}
See Also