Music Volume Property Delta Engine Documentation

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

public float Volume { get; set; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Multimedia.Tests.MusicTests
Examples

1 unit tests call DeltaEngine.Multimedia.Music.Volume
[Test]
public void PlayMusicWithHalfVolume()
{
    ContentLoader.Load<Music>("DefaultMusic").Play(0.5f);
}
See Also