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).

[VisualBasic]
PublicPropertyDefaultVolumeAsSingle
[C#]
publicfloatDefaultVolume{get;set;}

See Also

ISoundSource Class | IrrKlang Namespace