C4 Engine Terathon Software C4 Engine API Documentation

• Sound Manager

API Links
Developer Links

SoundGroup::SetVolume

Defined in:  C4Sound.h
Returns the volume of a sound group.
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. A sound is added to or removed from a sound group using the Sound::SetSoundGroup function.
See Also

SoundGroup::GetVolume

Sound::GetSoundGroup

Sound::SetSoundGroup