SoundEffectInstance.Volume Property

Gets or sets the volume of the SoundEffectInstance.

Namespace:  Microsoft.Xna.Framework.Audio
Assembly:  Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)

public float Volume { get; set; }

Property Value

Type: System.Single
Volume, ranging from 0.0f (silence) to 1.0f (full volume). 1.0f is full volume relative to MasterVolume.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions