SoundGroup::SetVolume
Defined in:
Sets the volume of a sound group.
C4Sound.h
Prototype
void SetVolume(float volume);
Parameters
volume |
The new volume of the sound group. This should normally be in the range [0, 1]. |
Description
The SetVolume
function sets the volume applied to all sounds that are members of a sound group. The value specified for the volume
parameter multiplies the individual volume for each sound in a group to produce a final playback volume.A sound is added to or removed from a sound group using the
Sound::SetSoundGroup
function.
See Also