|
VR-Engage
2.2
|
#include <audioUpdater.h>
Public Member Functions | |
| Sound () | |
Public Attributes | |
| std::string | myStateVar |
| makAudio::DtSound * | mySource |
| bool | myTriggered |
|
inline |
Default constructor initializing member variables.
References mySource, myStateVar, and myTriggered.
| std::string makVre::DtAudioUpdater::Sound::myStateVar |
Name of the state attribute that controls this sound.
When this attribute is true, the sound will play. If empty, the sound is always enabled.
Referenced by Sound().
| makAudio::DtSound* makVre::DtAudioUpdater::Sound::mySource |
Pointer to the audio source for this sound.
Referenced by Sound().
| bool makVre::DtAudioUpdater::Sound::myTriggered |
Flag to track if a non-looping sound has been triggered.
Used to prevent repeatedly triggering non-looping sounds that are still playing.
Referenced by Sound().