![]() |
• Sound Manager | ||||||||||||||||
|
API Links
Developer Links
|
class SoundGroupDefined in:
Represents a sound group.
C4Sound.hDefinition
Member Functions
Constructor
Parameters
Description
The SoundGroup class represents a group to which sounds may belong. The volume for an entire group can be modified using the SoundGroup::SetVolume function, and this volume is applied in addition to each sound's internal volume and the Sound Manager's master volume.Every sound group must have a unique 32-bit identifier specified by the type parameter. The name parameter specifies the human-readable group name that is displayed in the World Editor.A sound group can be registered so that it appears in the World Editor by calling the SoundMgr::RegisterSoundGroup function. A default sound group to which each sound initially belongs can be set by calling the SoundMgr::SetDefaultSoundGroup function.
Base Classes
See Also
|