IrrKlang.NET

ISoundSource.DefaultVolume Property

Sets or gets the default volume for a sound played from this source. The default value of this is 1.0f. Note that the default volume is being multiplied with the master volume of ISoundEngine, change this via ISoundEngine::setSoundVolume(). The volume is a value between 0 (silent) and 1.0f (full volume).

[Visual Basic]
Public Property DefaultVolume As Single
[C#]
public float DefaultVolume {get; set;}

See Also

ISoundSource Class | IrrKlang Namespace